I want a link on my site which visitors can use to get directions to my location. Is it possible to create a link to a Google Maps directions page, where one end of the directions (the destination) is pre-filled?
Google Maps Directions – How to Link to Directions with Prefilled Destination
google maps
Related Topic
- Gmail – How to email Google Maps directions (*not* just a *link* to directions)
- Google Maps Transit – Customize Foot Speed for Directions
- Google Maps – How to Share Google Maps Directions
- Google-maps – Google Maps: How to start a route that I’ve saved to My Maps
- Google Maps – Different Directions for Same Route Explained
Best Answer
Set the origin (Place A) as "current location" and the destination (Place B) as your desired address. Then save that link.
For example:
The URL will look something like
https://www.google.com/maps/dir/-33.8592754,151.2096187/Sydney+Opera+House,+Sydney+Opera+House,+Bennelong+Point,+Sydney+NSW+2000,+Australia/@-33.8592754,151.2096187,9z
(there may be more characters, but it will start similarly).Then change the URL to something else like this:
https://www.google.com/maps/dir/current+location/Sydney+Opera+House,+Sydney+Opera+House,+Bennelong+Point,+Sydney+NSW+2000,+Australia/
So you'll replace the first set of numbers seen (longitude and latitude) with the string
current+location
and copy all fromhttps
to just before@
.Whenever someone clicks on that link it will start from where they are located, no matter where that is, and show directions to your designated location.