Wasn't it Alexandre Dube who wrote: > >Hi Mike, > > Thanks for your help. > > Well, the infowindow could appear at the location where the mouse >hovered the polyline first, but since I'm binding the event to the >GPolyline, how can I get the position of the mouse ? "this" is the >polyline, so where's the mouse position ?
Use map "mousemove" all the time to track the pointer and store the position in a global variable. When you get a poly "mouseover", open the infowindow at the location stored in the global variable. -- Mike Williams http://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 [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 -~----------~----~----~----~------~----~------~--~---
