> but I'm looking for polylines, not markers and I can't see any example
> for that. If you anyother website with what I'm looking for it will be
> great


You'll have to do some work.  If you look at
http://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 teh tooltip attached 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