Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

Google Map and more options

Hi,
Is it possible to add more options to the;

var mapOptions = {
zoom: 1,
streetViewControl: false
};

Code: Select all

 var map = Appery('map', myOptions); 

?? or something like that?

-Tom

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Google Map and more options

Hi,

Yes, you can add more options to Google Map. Please use Maps Javascript API to see the list of options:
https://developers.google.com/maps/do...

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

Google Map and more options

I was thinking about the "initial initializing of map" from appery builder. How to insert more options to the initial map that loads.

Do I need to load map first (from builder) and then re-initialize it to insert more options?

-Tom

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Google Map and more options

You can insert all options when you initializing map.

https://developers.google.com/maps/do...
http://docs.appery.io/tutorials/addin...

Tom6106181
Posts: 0
Joined: Fri Aug 02, 2013 12:39 pm

Google Map and more options

Still not answering my question. My question is; When using the Appery UI, dragging MAP component to page. Can I initilize more options right away? I notice only zoom & location points are available in the UI. Do I need to "re-initialize" the map to add example: StreetviewControl: false?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Google Map and more options

The options that you see in Properties are what you can set in design time. Everything else could be set/changed in runtime.

Return to “Issues”