On Sep 21, 8:43 am, René <[email protected]> wrote:
> I've looked at a few libraries that help with this. SnapToRoute looks
> good, but I was wondering if anyone has come up with a simple, single
> function that quickly returns the nearest point index of a polyline
> when the mouse pointer gets near? Thanks.

Bill Chadwick's
http://www.bdcc.co.uk/Gmaps/BdccGmapBits.htm
DISTANCE POINT TO POLYLINE OR POLYGON

Has all the information you need internally.  Not sure how efficient
it will be if you are looking for real-time checking on the mouse
pointer.

But it looks like you probably already saw that.

  -- Larry


>
> ...Rene

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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