I'm making a delivery site and I need to calculate the distance between two points and set a minimum price and multiply every 100 meters. How can this be done?
Asked
Active
Viewed 862 times
-1
-
What programming language are you doing this in? HTML, Java, PHP, Objective-C, etc.? – Sam Spencer May 27 '13 at 14:56
-
Possible duplicate of http://stackoverflow.com/questions/1502590/calculate-distance-between-two-points-in-google-maps-v3 – Jeroen K May 27 '13 at 14:57
1 Answers
0
If you want the driving distance (and you are displaying a Google Map), you can use the directions service or the directions matrix

geocodezip
- 158,664
- 13
- 220
- 245