Google Maps: Driving Directions Using Query String Parameters

Posted: October 1, 2013 in Google Maps
Tags: , , ,

Passing few query string parameters can land the user on the Google Maps Page with Driving Directions.

Examples:

1) https://maps.google.com/maps?f=d&saddr=New%20Ringgold,%20PA,%20USA&daddr=Allentown,%20PA,%20USA

2) https://maps.google.com/maps?f=d&saddr=17960&daddr=17980

f: stands for “form” and controls the style of query form to be displayed.

f=d: Displays the “directions” form (two input boxes: from, to).

saddr: “saddr” source address. Use this when asking for driving directions.

daddr: “daddr” Destination address(es). Use this when asking for driving directions.

More detailed article on the Google Maps Query Strings:

http://asnsblues.blogspot.in/2011/11/google-maps-query-string-parameters.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s