[Google Map] Web Link to show direction from user’s current location

Nowadays Google Maps can show direction from user’s current location to any specified place easily. Here is how to accomplish that in link on the web (<a>)

Simply putting My+Location in the link URL in this format:

Note that Current+Location works as well, but stackoverflow’s member said that it works only on English OS users.

For examples, the URL to go to specified lat, long destination is:

You can change daddr=xxx to address as well (e.g. Bourke+Street)

Reference: http://stackoverflow.com/questions/15042283/current-location-google-maps-link-to-directions

Originally published at Woratana Perth.

Perth Ngarmtrakulchol
Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade