Solved

Distance Calculator In Search Results

Posted on 2013-10-22
3
216 Views
Last Modified: 2014-10-22
My web developer does not know of a way to calculate driving distance between the street address of a client and multiple service providers. The closest they can get is linear distance between two gps coordinates that represent the street address. Is there a more accurate method to calculate driving distance or do most websites display linear distance? If the alternative methods involve costs, or other risk, please let me know. Thanks!
0
Comment
Question by:craig1632
3 Comments
 
LVL 54

Accepted Solution

by:
Julian Hansen earned 375 total points
ID: 39593299
The Google MapAPI (if that is what you are using) has functionality to do this.

Take a look at this URL

https://developers.google.com/maps/documentation/javascript/services?csw=1#DirectionsResults

And specifically this one

https://developers.google.com/maps/documentation/javascript/distancematrix

For more information on how this works.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question