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

Popular posts from this blog

php - how to change mysql_result($res, 0, "url"); to mysqli -

Delphi: missing interface declarations for UI Automation methods -

android - How to attach an image from an app to gmail -