I am using the Maps API to reverse geodecode a location in my server side code, as described here:
http://code.google.com/apis/maps/documentation/geocoding/ I am using the XML response and parse out locality, country and address. At a later point, I download the server data I have accumulated and map it using the GeoMap visualizations (I use GWT, but that shouldn't matter). I have a problem with my "regions" map: When I map data using the countries decoded in the server, setting them as the "regions" for a GeoMap, it works for most such as: "United States", "Spain", etc. but not for some, for example "India", "Macedonia (FYROM)" I notice that when I select the region on the map and look at the region selected (using a selection handler in the visualization) the location returned for United States is "US", Spain is "ES", India is "IN", etc following the ISO standard. Could this have anything to do with it? It seems the GeoMap unserstands "UnitedStates" AND "US", but only "IN", not "India" ? Is there any way to solve this using one of the following, or another method: - force the reverse geodecode to return country/region values that can be used on GeoMap directly - convert from one to the other, preferrably in server side code - have the GeoMap recognize regions such as "India", not only "IN"? thanks in advance for any help. Andrew -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
