On Dec 27, 1:46 pm, Laszlo Boke <[email protected]> wrote: > Is there a way to get the name of a map type? > > For example if a map has google.maps.MapTypeId.ROADMAP maptypeid included, > you usually see a Maptype control on top-right corner in a map. On the > maptype control there is a button, labeled "Map" and localized if your > location is different. So i want to get somehow that "Map" literal in > javascript. > > The reason is i could use this string in my StyledMapType as a name too. The > example for styled map uses a constant like "hip-hop" etc....
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#MapTypeInterface (has an optional name parameter) Looks like you can set it, haven't tried to get it. -- Larry -- 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.
