On Feb 16, 9:45 pm, Philip <[email protected]> wrote: > However the mapTypes on the main map > is a MapTypeRegistry and even though the getter method is probably > 'get', I can't figure out the argument to get the current (or any) > MapType. In particular, map.mapTypes.get(map.getMapTypeId()) returns > null.
There is no get method. Just try to call the map type by its ID map.mapTypes[map.getMapTypeId()] You get the current map type but its projection property is empty map.mapTypes[map.getMapTypeId()].projection // null -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
