André Amorim

Crafting Web Experiences

//

Google Maps Links to Directions


For those still looking, here are some methods of linking to Google Maps:

Spaces can be changed to + or encoded as %20.

Linking to a location (No directions)

https://www.google.com/maps?q=760+West+Genesee+Street+Syracuse+NY+13204

No starting point (User input required to generate directions).

https://www.google.com/maps?daddr=760+West+Genesee+Street+Syracuse+NY+13204

With a set location as starting point (Automatically generates directions with no user input required).

https://www.google.com/maps?saddr=760+West+Genesee+Street+Syracuse+NY+13204&daddr=314+Avery+Avenue+Syracuse+NY+13204

With “My Location” as starting point (Automatically generates directions with no user input required).

https://www.google.com/maps?saddr=My+Location&daddr=760+West+Genesee+Street+Syracuse+NY+13204

Current Location to Latitude and Longitude

https://www.google.com/maps?saddr=My+Location&daddr=43.12345,-76.12345

Query search of a Latitude and Longitude. Also shows setting a default zoom level.

https://www.google.com/maps?ll=43.12345,-76.12345&q=food&z=14

String search as destination

https://www.google.com/maps?saddr=My+Location&daddr=Pinckney+Hugo+Group

Reference:
https://stackoverflow.com/a/22330384


Published date:

Modified date: