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é
Mapgears
www.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to