I have 2 text boxes for lat and lon for when a user is entering a new record to the db.
I have a live preview of Google Maps that works great, now what I want to do
google.maps.event.addListener(map, "rightclick", function(event) { var lat = event.latLng.lat(); var lng = event.latLng.lng(); // populate yor box/field with lat, lng alert("Lat=" + lat + "; Lng=" + lng); });