Hi, I'm trying to use mousedown, mousemove and mouseup event to drag the polygon, basically the idea is: 1. When the user click on the polygon, var moving = true; 2. When moving = true, the path of the polygon will keep updating and follow the cursor 3. When the user release the left click, moving will become false.
Quite a simple logic, but it does not always works as expect, when the cursor is moving slowly (around 50 to 100 pixel per second), it works well, but if the user drag it too quick, the mouseup event does not dispatch and the polygon will stick to the cursor. I am wondering if there is any solution to this case? Thanks for helps -- 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.
