On Jun 11, 3:18 am, xelawho <[email protected]> wrote: > > although something as simple as > > elabs[k].setPoint(point); > > might be sufficient.
OK. "point" in that line is zero. The docs don't mention that a polygon has a mousemove event, so its action is undefined -- obviously such an event is triggered and listened for, and while it would be nice if it behaved like the map's mousemove event, it doesn't. So: in your mouseover event, set a global flag to say the mouse is over the polygon; in your mouseout event, unset the flag; change your mousemove event so it's an event on the *map* (which is documented), and test the flag to see if the mouse is over the polygon in order that you can move the label. -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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.
