Thanks Ross!

It's been so helpful but I'm still having some problems. And that's
because when your simply over the map you get every coordinates change
but once you're over the polyline it doesn't change until you get out
of the line so I can't really follow the cursor with the tooltip. Is
this a bug? or do I need something to make it happend??



> You'll have to do some work.  If you look 
> athttp://econym.org.uk/gmap/tooltips4.htm
> you could modify it so that the mouseover and mouseout listeners are
> applied to polylines instead of markers.
>
> You would also modify the part of showTooltip() that determines the
> position to place it ; instead of reading back the marker coordinates
> you have to find out the mouse coordinates, unless you want to always
> open tehtooltipattached to say one point on your polyline (the
> middle, one end?).
> To track the mouse position use a GMap2 mousemove listener to simply
> record the mouse position until needed.
>
> cheers, Ross K

--

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=.


Reply via email to