geolocator - load terrain or satellite
4 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: March 22, 2011 (RSS)
By rez - March 18, 2011 - edited: March 19, 2011
I'd actually like to be able to load them for all examples and the iframe versions if its not the same?
thanks.
Re: [rez] geolocator - load terrain or satellite
By Jason - March 21, 2011
What you need to change is the MapTypeId, which is set in the code like this:
var mapOptions = { mapTypeId: google.maps.MapTypeId.ROADMAP };
As you can see, the default is ROADMAP. There are 4 options available:
-HYBRID
-ROADMAP
-SATELLITE
-TERRAIN
(http://code.google.com/apis/maps/documentation/javascript/reference.html#MapTypeId)
So, for example, if you wanted to default to a satellite view, you would change the code to this:
var mapOptions = { mapTypeId: google.maps.MapTypeId.SATELLITE };
Hope this helps.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] geolocator - load terrain or satellite
By rez - March 21, 2011
Re: [rez] geolocator - load terrain or satellite
By Jason - March 22, 2011
That's a good question. As far as I know, Google would take this on. However, even if they don't, the difference in bandwidth I think would be negligible.
Hope this helps.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/