Google maps nearest points avoiding rivers / by itinerary
- by Karl Lacroix
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! :)