On Apr 28, 3:49 pm, Ivan <[email protected]> wrote:
> Can i use GClientGeocoder to submit a GLatLng.
Yes.
> If there is an address then look up an xml file to get bounding box for a
> country.
You could parse the returned placemark for "CountryName" or
"CountryCode" then pass it back to the GClientGeocoder. The result
returned (if it succeeds) should include a bounding box. I don't know
what you mean by "then look up an xml file" but if that is code you
are planning on writing, then of course you can...
If I pass "USA" to the geocoder, I get the bounding box:
"ExtendedData": {
"LatLonBox": {
"north": 71.434357,
"south": 17.83151,
"east": -65.168504,
"west": 172.347848
}
},
-- Larry
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---