> mmm... but being that the idea of taking the GPS is to never stray too
> far from the designated path, isn't all you need to do is get the
> distance from the unit to the next waypoint - if it's off a couple of
> metres, big deal?

You can't rely on the people being where they ought to be in the real
world, and the intervals between waypoints may be significantly large,
so that calculating nearest-point-on-line is a good idea in the
general case.

-- 
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 [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-js-api-v3?hl=en.

Reply via email to