How to get the lat and lng from Google MAPS

Hi everyone,

I have two form fields and google maps displayed.
When click in some location on the map, a want to fill these fields,
is this possible?

what the best way?

tnks a lot!

On Mon, Aug 17, 2009 at 3:55 PM, flaubert[email protected] wrote:

tnks a lot!

Use a click event handler in the Google Maps API
It returns a location which contains latitude and longitude.
See more at http://code.google.com/apis/maps/documentation/events.html

Andrew T.
http://ramblingsonrails.com

http://MyMvelope.com - The SIMPLE way to manage your savings

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs