> var map_type;
> if (map.getCurrentMapType() == G_NORMAL_MAP)
>     map_type = "normal";
> if (map.getCurrentMapType() == G_SATELLITE_MAP)
>     map_type = "satellite";
> if (map.getCurrentMapType() == G_HYBRID_MAP)
>     map_type = "hybrid";

I wish getCurrentMapType() would return exactly that! But it returns
an object, that only holds the name (.getName()) shown on the button
(which is language specific, for instance "Karte"). What I would like
to query is the constant name (like G_NORMAL_MAP)...

Thanks,
Rainer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to