Im trying to get the country code for some islands in some central american countries
On Apr 28, 8:01 pm, "[email protected]" <[email protected]> wrote: > On Apr 28, 6:43 pm, Ivan <[email protected]> wrote: > > > After getting the values for the bounding box via a xml file load. How > > do i calculate or check if it is in the area of the bounding box? > > What are you trying to accomplish? > > > > > > > Is there any sample scripts or tutorials around? > > > On Apr 28, 5:24 pm, "[email protected]" <[email protected]> > > wrote: > > > > 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- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
