I want to calculate whether the mouse cursor lies near a polyline. Fpr this I'm using the isLocationOnEdge method.
The problem is that the calculated distance from the mouse cursor to the polyline changes at any zoom level, so it's impossible to use a static value for the tolerance. So I'm looking for a factor depending on the zoom level to have approximately the same visible distance from the mouse cursor to the polyline in every zoom level. It must'nt be completely accurate but should be approximately right. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.