Google map options

Hi, i wanted to know how do i access the options in google map such as disableDefaultUI and MapOptions object.

i tried using define like this :

$$(“office_map”).define(“disableDefaultUI”, true);
$$(“office_map”).refresh();

but it shows no changes, the google map still shows the default control.

nevermind i found it, using this :smile:

$$(“office_map”).getMap().setOptions({disableDefaultUI:true});