The v3 demo gallery provides a great sample of how to create a map
with a single marker, drag it and get the lat/long. (http://gmaps-
samples-v3.googlecode.com/svn/trunk/draggable-markers/draggable-
markers.html)

I’m trying to extend the example and create a map with multiple
markers that are each draggable by the user. I'd like to get the lat/
long of each marker so that it can be saved to a table.

I am able to display a map with multiple markers and I can drag any of
the markers and get the lat/long. But I can only drag one marker at a
time. Moving a second marker only displays the lat/long of the first
marker moved.

What adjustments to the code do I need to make to get the lat/long of
the marker most recently moved?

You can see a sample and the code at the following url:
http://realadventures.com/php/examples/multiple-markers.htm

Thanks for your help.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to