Nozim
Nozim

Reputation: 597

Google maps marking path between 2 points over streets

Maybe it's not the first similar question but anyway: I'm looking for a kind of functionality to make available to mark the vehicle path across the city streets between two points in city (for example A and B), including the turns and etc. Is there some facilities? If not please offer some idea how it can be done. Will be appresiated for any help :) Hope I was clear.

Upvotes: 0

Views: 1098

Answers (1)

keyboardP
keyboardP

Reputation: 69372

You can manually construct the URLs based on the parameters that Google Maps has. You can see all the Direction parameters (and others) here.

A basic URL with a source and destination address would look like this:

http://maps.google.com/maps?f=d&hl=en&geocode=&saddr=ENTERSOURCEADDRESS&daddr=ENTERDESTINATIONADDRESS

Upvotes: 2

Related Questions