On Dec 7, 10:00 am, klemmkeil <[EMAIL PROTECTED]> wrote:
> Hi,
>
> >http://www.geocodezip.com/GenericMapBrowser.asp?type=hybridhttp://www...
>
> The problem seems to be, that the values I get from the
> map.getCurrentMapType().getName(); are dependant of the viewers
> language settings or region.
> Here in germany, the result is "Karte" instead of normal "map". I
> can't really map all languages outcomes to the constants i need to re-
> create the maps. Surely, I could do what you do in your script, but
> that would only work for english users, as any other language would
> get other values that are not mapped...

In those examples I map the constant to an arbitrary string. You can
do the same (you can use "G_HYBRID_MAP" for the string if you want)...

  -- Larry

>
> Thanks again,
> 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 Google-Maps-API@googlegroups.com
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