Mike, thanks for your answer. I guess I will try to figure out why finding corresponding DOM elements for polygons and setting their titles for tooltip does not work properly. I cannot afford to search through all polygons. Also is it too difficult to write a custom mouseover event for gpolygon, which can send the point argument?
Thanks. On May 24, 9:37 am, Mike Williams <nos...@econym.demon.co.uk> wrote: > The underlying problem seems to be that map:mousemove events are not > reported when the cursor is over a clickable polygon. > > If you make the polygons {clickable:false} then you get the > map:mousemove events, but you don't get polygon:mouseover events, so you > know where to display the tooltips, but not when. > > Instead of listening for polygon:mouseover, you could set > {clickable:false} and use EPoly.Contains(), like this: > http://econym.org.uk/temp/polytooltip.htm > but I imagine that might get a bit slow with 200 polygons. > > -- > Mike Williamshttp://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---