HTTP Request
To access the Maps API geocoder directly using server-side scripting, send a request to
http://maps.google.com/maps/geo? with the following parameters in the URI:
q -- The address that you want to geocode.
key -- Your API key.
output -- The format in which the output should be generated. The options are xml, kml or json.
In this example, we request the geographic coordinates of Google's headquarters.
http://maps.google.com/maps/geo?q=1600+Amphitheatre+Parkway,+Mountain+View,+CA &output=xml&key=abcdefg
Lesezeichen