jquery - Geocoding an address with Google Maps API -
Is there a way to recover a longitude using Latitude and a specific address using the Google Maps API?
I am trying to create a web page where you can enter an address in a text box, then latitude will be automatically calibrated for a long time.
Like this page:
A very basic example:
var geocoder = new google.maps.Geocoder (); Var a = "Your address here"; Geocoder.geocode ({'address': a}, function (result, position) {var c = results [0] .geometry.location; var latitude = c.lat (); var graphs = c.lng ();} );
Comments
Post a Comment