I want to get the exact lattitude/longitude information for a given
address, and the API (xml) is returning (see below) north, south, east
and west coordinates.

I understand the point coordinates will set the marker on the map
accurately, but I also want to store the exact lat/long?  I am doing
this server side not using json/javascript I am using XML.

Can I get the lat/long accurately?


<kml xmlns="http://earth.google.com/kml/2.0";><Response>
  <name>90210</name>
  <Status>
    <code>200</code>
    <request>geocode</request>
  </Status>
  <Placemark id="p1">
    <address>Beverly Hills, CA 90210, USA</address>
    <AddressDetails Accuracy="5"
xmlns="urn:oasis:names:tc:ciq:xsdschema:xAL:
2.0"><Country><CountryNameCode>US</CountryNameCode><CountryName>USA</
CountryName><AdministrativeArea><AdministrativeAreaName>CA</
AdministrativeAreaName><SubAdministrativeArea><SubAdministrativeAreaName>Los
Angeles</SubAdministrativeAreaName><Locality><LocalityName>Beverly
Hills</LocalityName><PostalCode><PostalCodeNumber>90210</
PostalCodeNumber></PostalCode></Locality></SubAdministrativeArea></
AdministrativeArea></Country></AddressDetails>
    <ExtendedData>
      <LatLonBox north="34.1377559" south="34.0642330"
east="-118.3896720" west="-118.4467160" />
    </ExtendedData>
    <Point><coordinates>-118.4104684,34.1030032,0</coordinates></
Point>
  </Placemark>
</Response></kml>

-- 
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