Hate to reply to my own post, but really.. anybody? I certainly hope it's not such a no-brainer that nobody answers.
On Aug 27, 11:20 am, Auke <[EMAIL PROTECTED]> wrote: > Hello, > > this is my first post here, so bear with me if you will :-) > > I'm trying to use the mouseout (en mouseover) events on a polygon, > however the problem is that the mouseout is not accurate enough. Since > I don't have any code which you can reach at this point I will show it > using this > link:http://googlemapsapi.blogspot.com/2008/05/love-my-maps-use-its-line-a.... > My code seems to be behave exactly the way it does on that page. > > The problem: The mouseout is triggered too late, i.e. you have to move > too far away from the actual polygon to get the event fired. Example: > > 1. Draw a (filled) polygon using the rightmost icon. > 2. Close the polygon by connecting to the first point > 3. Move your mouse (from outside of the polygon) toward the drawn > polygon, at the moment you cross the boundary (or at least very close) > you see that the mouseover is fired and you see the points change to > 'edit mode'. > 4. Now move your mouse (slowly) out of the polygon. 'Edit mode' only > disappears when you are about 25px away from the polygon. > > Now I can understand that this behavior is wanted for 'edit mode'. You > don't want to make it too hard for the user to click on the > boundaries. However my polygon seems to behave exactly the same way > (even with disableEditing() explicitly called on the polygon). > > Okay so I'm basically wondering if this behavior is by design (seems > to be) and if I can override the 'tolerance' somewhere. > > Thanks in advance, --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
