JSON Usage Sample For Google-Maps API (Elevation And Geocode API)

geolocation

use either xml or json

http://maps.googleapis.com/maps/api/elevation/json?locations=32.333493,34.854604&sensor=true
{
   "results" : [
      {
         "elevation" : 38.73394393920898,
         "location" : {
            "lat" : 32.333493,
            "lng" : 34.854604
         },
         "resolution" : 610.8129272460938
      }
   ],
   "status" : "OK"
}

—————————-

http://maps.googleapis.com/maps/api/geocode/json?latlng=32.333493,34.854604&sensor=false

Continue reading