After a quick look at your code. It looks like you essentially wrapped a polygon with a bigger transparent polygon and you hide the tooltip when the 'mousemove' event fires on the big transparent polygon. Unfortunately, I don't think this will help with my application as I have multiple polygons that most likely share a boundary edge, so it would be hard to wrap each one with a larger polygon.
It is, however, a very creative solution that I can probably use on a few other projects. Thanks for the tip. On Sun, Apr 11, 2010 at 10:32 AM, Erwin Quinto <[email protected]>wrote: > See my solution on this thread: > > http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/8a4137e71a1fe17b/994620a2eceda0c6?lnk=gst&q=polygon+hovering > > On Apr 7, 2:23 am, Jason Sanford <[email protected]> wrote: > > I know there is no 'mouseover' event for a Polygon but has anyone > > successfully implemented their own solution? I want to highlight a > polygon > > (change fillColor property) when I mouseover a polygon and open an > > infoWindow when I click a polygon (I've already got this). > > > > Thanks > > -- > 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]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- 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.
