Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Looking for a bit of help with Google Maps...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

The Omega
New Member

55 Posts

Posted - 20 December 2005 :  19:55:44  Show Profile
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  Show Profile  Send pdrg a Yahoo! Message
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
Go to Top of Page

The Omega
New Member

55 Posts

Posted - 21 December 2005 :  18:45:15  Show Profile
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
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 22 December 2005 :  06:22:31  Show Profile  Send pdrg a Yahoo! Message
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
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 2.61 seconds. Powered By: Snitz Forums 2000 Version 3.4.07