Unless I'm mistaken that the API provided MapType objects are not available until after map construction, I guess this should be a feature request.
http://code.google.com/p/gmaps-api-issues/issues/detail?id=2562 Thanks, Tim On Jul 9, 5:28 pm, tschaub <[email protected]> wrote: > Hello- > > I see that can get the default map type ids from > google.maps.MapTypeIds. Is there a registry of these MapType objects > available before creating a Map object? I'd like to be able to get > properties like name andaltfrom these MapType objects before > creating a map (allowing a user to choose one by name or description > before the map is created). > > In v2, the equivalent was available from G_SATELLITE_MAP.getAlt() et > al. > > Thanks for any tips, > Tim -- 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.
