Hi,
I use the following code:
GEvent.addListener(polygon1, "drag", function(point,id)
{document.getElementById('table1').rows[id+1].cells[0].childNodes
[1].value = point.x;document.getElementById('table1').rows[id+1].cells
[1].childNodes[1].value = point.y;});
Now it seems that the drag event is never fired, as nothing happens.
When I change it to a click event, it works fine. Does anyone know how
to invoke the drag event when moving polygons?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---