Hi, I am new to the GMaps API environment, and have moderate experience with JavaScript. I am trying to achieve drag and drop functionality on a map. The kind that sites have where you can drag images to the map and a marker appears on the drop point.
I have already made the drag and drop code that works fine for moving items between categories etc., by checking mousedown/mouseup events on objects. I was hoping to do the same with GMaps, but it seems that it doesn't fire an event on mouseup. I added a mouseup event to the parent div, which works fine, letting me know when dragging is done. But that doesn't get me the long/lat coordinates on the drop. I tried setting a mouseover event to the map, but that doesn't return the 'point' either. Basically, I want a way to get the 'point' returned for mouseover (or relevant mouse event). So how do I get the long/lat point for the drop/mouse event? Thanks --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
