Author |
Topic  |
|
The Omega
New Member

55 Posts |
Posted - 20 December 2005 : 19:55:44
|
Don't know if Google Maps allows for this, but would anyone happen to know how to query Google Maps with two zips and then retrieve the resulting driven mileage? I know there must be a way but I haven't been able to find it mentioned anywhere....
What I am doing is that the company I work for has a web based dispatch system and I want to (via AJAX) have it where when the dispatcher enters two zip codes (shipper and consignee), it sends and request and pulls the milage from zip to zip.... that milage would then be put into the milage cell to calculate the rate...
Any ideas? |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 21 December 2005 : 04:34:46
|
http://www.google.com/apis/maps/ would be a good starting point, although I am not sure if they expose distances between points as an API yet - you could try asking in their forums :)
hth |
Edited by - pdrg on 21 December 2005 04:37:21 |
 |
|
The Omega
New Member

55 Posts |
Posted - 21 December 2005 : 18:45:15
|
Thanks, didn't see that before....
oh and just checked, won't work for what I am doing.... oh well back to the drawing board... thanks anyways.... |
Edited by - The Omega on 21 December 2005 18:52:00 |
 |
|
pdrg
Support Moderator
    
United Kingdom
2897 Posts |
Posted - 22 December 2005 : 06:22:31
|
awww :(
Maybe back to screen scraping then...otherwise try multimap, msn maps, theaa (or local equivelents), askjeeves, etc until you find one that will do you...
this is a demo from askjeeves, looks like they take querystring parameters (this is from one UK postcode to another) http://maps.uk.ask.com/dd?sa1=&sa2=ox73sb&ped=0&fa1=&fa2=w1a1aa and screen scrape the resultant distance
hth |
 |
|
|
Topic  |
|