In Google Maps api v2 you could get parameters such as the map type, zoom etc directly from the map object. In version 3 you have the setOptions method to set some parameters, but there is no getOptions() or options to retrieve them.
+1
A:
You can access those properties via methods on the Map class:
- getZoom()
- getMapTypeId()
- getCenter()
- etc..
Cannonade
2010-07-30 12:55:48
Yep that's the only way... Btw, it's a pity that the v3 API reference does not have an anchor link for each method, as the v2 API reference has.
Daniel Vassallo
2010-07-31 06:04:01
@daniel-vassallo Heh .. I agree, I was a bit thrown when I discovered I couldn't link to the each one ;)
Cannonade
2010-07-31 14:36:57