I'm trying to get driving directions from point A to point B, where both points are lat/long coordinates. The problem is that point B is not exactly on the road, thus Directions service returns ZERO_RESULTS. I tried to use Geocoding service to get approximate coordinates, but Directions service still return ZERO_RESULTS. For example: Point A: (64.31023, -20.30454) Point B: (64.86663, -19.55013) After a request to Geocoding service Point B becomes: 64.8742508, -19.5450184. Less than a mile from the road, but still no driving directions. I tried the same thing on maps.google.com It finds no directions as well, until i drag point B marker closer to the road, then it works like a charm. My question: is there a way to get the closest point on a nearby road of a point, so that I could navigate close enough to a point I need to be in?
-- 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 google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.