In V2 I often use cookies to save/restore MapType using code like
this:
// --check if maptype changes and set a cookie--
GEvent.addListener(map,'maptypechanged',function(){
for (var k=0; k<8; k++){if (map.getCurrentMapType() ==
map.getMapTypes()[k]) {writecookie('maptype',k)}}
}
);
Is there an equivalent method in V3? The map types are stored in an
Archive and I don't understand how to access that through a numeric ID
or equivalent.
Thanks!
--
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.