Hey Alexandre, I noticed that as well, about the polyline listener, just haven't had a chance to add that to the "article". Basically, as soon as any polyline listener "activates" (mouseover/out), the general mousemove stops reporting info ...
Interesting idea about the "getOverlayAtCurrentPosition", have you had a chance to try it out? I'll see if I get a free moment or two to play around with the idea. Another thought is to look into the GTitleLayer but I haven't had time to look at that yet. With kind regards, Dan On Oct 6, 10:27 pm, Alexandre Dube <[email protected]> wrote: > Hey, > > See below : > > Alexandre Dube wrote: > > Hey, > > > Still scratching my head on this one. Well, I'm ok with the "mouse > > click" being triggered only once, it doesn't matter (it's ok like > > that). What matters now is to have the mouse position of the mouse > > while hovering the polyline. > > > I noticed that if there's no "mouseout" or "mouseover" events > > registred on the polyline, the mouse position works when the mouse > > hovers it. > > just comment both "mouseout" and "mouseover" event listeners in your > example, you'll see what I'm talking about. > > http://lab.gmtplusone.com/google-maps/polyline-click-issue/ > > Thanks, > > Alexandre > > > > > So I'm stucked again since I want to display a popup that > > follows the mouse position on "mouseover" and select it (changing the > > color, add it to a special array, etc) on "click". > > > The "click" event supports : overlay, glatlng, overlaylatlng > > but the "mouseover" event only has : glatlng > > > Any clues/hints ? > > > Many thanks for your support and kindness, > > > Alexandre > > > dan_nl wrote: > > >> Hey Alexandre, > > >> I did a bit more research on the subject and as long as you don’t need > >> the GlatLng data from multiple clicks in the Polyline I think you’ll > >> be okay. I’ve tried to flush everything out in the link you’ve got in > >> this post. > > >> Good luck! > > >> With kind regards, > >> Dan > > -- > Alexandre Dubé > Mapgearswww.mapgears.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
