/    Sign up×
Community /Pin to ProfileBookmark

Driving Distance V3 API

Hi there,

I’ve used [URL=”http://briancray.com/2009/06/23/calculate-driving-distance-google-maps-api/”]Brian Crays[/URL] driving distance calculator on a site, however the calculations are not accurate for full addresses.

I realise the v2 google maps api is now depreciated, my question is, if I upgrade to v3, is there more accurate calculations of distance and if so, does anyone have an example of calculating the distance between two points with the new api?

or does anyone know how to get more accurate results with his code?

this is pretty urgent so any helo would be appreciated.

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@justinbarneskinJun 21.2010 — Hi there,

There are 2 methods of the geocoder.

Enter longitude & latitude or enter address.

I found that entering address is difficult because it needs exact formatting.

If I were to work on this, I would use click points on the map to get the start and end

configured with the passed long & lats and also making markers.
×

Success!

Help @whitecreative spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...