[Google Maps API v3] how to calculate distances between multiple points (1 origin to different destinations) in one goal?

2011-11-03 Thread kaiik
Hello guys, I have done the code to calculate the distance between 1 origin point and 1 destination point (very easy, to be honest). Is there a possibility that I can calculate the distances between one 1 origin and multiple destinations when I click the submit button? my original code is: h

[Google Maps API v3] How to create 'add via points' functions in my own route planer? (I am using Javascript and PHP)

2011-10-30 Thread kaiik
Summary of Issue: Hello guys, I am doing a project about creating a route planer based on Google Maps API using Javascript and PHP. I have built a interface which can let people find route and distance between 2 points on the maps and can also initialize the map at a specific location. However,