> In my experiments it seems that, because the line is diagonal, the way
> that mouseover/out are triggered isn't pixel perfect but instead uses
> a rectangle bound of the polyline. (I have mouseOutTolerance:1)

You're right, it is an approximation.
This old blog
http://googlemapsapi.blogspot.com/2007/09/v288-clickable-polylines-polygons.html
explains how they do it for clicks (and presumably since then, use the
same method for mouseover)

> Isn't there a way to achieve what I want but be pixel perfect to the
> line?

Not with the API.  It's just a general purpose map display, not a full
blown millimetre-accurate GIS.

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