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.

Comments

  • nevermind i found it, using this :smile:

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

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion