views:

33

answers:

1

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:

Cannonade
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
@daniel-vassallo Heh .. I agree, I was a bit thrown when I discovered I couldn't link to the each one ;)
Cannonade