How to check if a Latitude/Longitude point is on the GRoute in Google Maps API?

Posted by Pavel on Stack Overflow See other posts from Stack Overflow or by Pavel
Published on 2010-05-21T13:48:23Z Indexed on 2010/05/24 15:51 UTC
Read the original article Hit count: 156

Filed under:
|

I'm ploting a route between two points and I need to check if the route goes through a predefiend location. In the api, each GStep has a start and end points but the path doesn't have to be straight. Given a Lat/Long point, is there a way to check if it intersects with a route?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about google-maps