Hi, I am looking at making a store locator using Google Maps API. We need it to calculate the nearest by driving distance from the start point to the nearest depot rather than in a straight line. This is because it is how our old system works and we would like to keep the results consistant.
The only way I can see for doing this is to first find the nearest 5 in a straight line, then calculate the driving distance to these 5 and then display the nearest three depots. This is a really conveluted way of getting the nearest by driving distance. Is there a way of getting the API to return the nearest three by driving distance as the default distance rather than so many calculations? Thanks, Chris -- 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...@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.