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
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
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
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...
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
You can insert all options when you initializing map.
https://developers.google.com/maps/do...
http://docs.appery.io/tutorials/addin...
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?
The options that you see in Properties are what you can set in design time. Everything else could be set/changed in runtime.