Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted

Set the origin (Place A) as "current location" and the destination (Place B) as your desired address. Then save that link.

For example:

A current location
B Sydney Opera House, Sydney Opera House, Bennelong Point, Sydney NSW 2000, Australia

Grab the link (icon next to the printer icon) and you can use that hyperlink.

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.

share|improve this answer
1  
Nice workaround, thanks! –  eykanal Jan 15 '13 at 16:15
    
Nice, but what if it changes (as it already did). Some kind of rule for generating the link would be better. –  jayarjo Nov 5 '13 at 7:58
add comment

protected by Community Mar 6 at 11:08

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.