Very good website. thanks alot!

How would you do a "dragend" function to update where the marker moved
to?
I got the below but doesn't work.

GEvent.addListener(map, "dragend", function(overlay, thePoint) {
                        var point = new GLatLng(thePoint.y, thePoint.x);
                        document.getElementById("save_form").spot_lat.value = 
thePoint.x;
                        document.getElementById("save_form").spot_long.value = 
thePoint.y;
        });

On May 21, 12:37 pm, Ralph Ames <[email protected]> wrote:
> Try this to starthttp://econym.org.uk/gmap/
>
> Ralph
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to