Google maps nearest points avoiding rivers / by itinerary
Posted
by
Karl Lacroix
on Stack Overflow
See other posts from Stack Overflow
or by Karl Lacroix
Published on 2012-08-28T14:34:00Z
Indexed on
2012/08/28
15:38 UTC
Read the original article
Hit count: 341
Here is the deal : I need to find the closest points from a point with a radius. For example, I need to get all the points in a 15 km radius. Thats easy with Google Maps Radius and all the examples on the web ;)
The problem is that from my office, a point is under the 15km radius, but it's on the other side of a river, so the car itinerary is about 30 km (using a bridge)!
Is there a simple solution to exclude those points or to calculate by intineraries ? I supposed that I'll need to calculate all itineraries with returned points? DirectionsRequest API?
Thanks! :)
© Stack Overflow or respective owner