On Aug 28, 2:11 am, riverguardian <[email protected]> wrote: > Hi > I have a route and I want to see if it goes through certain points > along the way, like a city or a town (or more precisely via a lat/ > long).
"Via a lat/lon" is a less precise way to express it, not more. Remember that a point has zero size, and a city is not a point. The best you can do is to check if the route crosses a polygon, and to do that you'd just need to write a loop that checks each vertex of the polyline of the route against the polygon. If the polygon can be defined as a rectangle, then things are a lot easier than if it is irregular. -- Marcelo - http://maps.forum.nu -- > > How do I go about doing it using the API? > > Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
