How do I include a link to driving directions in an embedded Google Map?
June 29, 2007 2:55 PM
Subscribe
What is the best way to embed a Google Map of a business's location, including a link to driving directions?
This is for a small business's website. All I want is a small embedded map of the business's location, with a standard pop-up flag including links for driving directions, the address, etc. (Basically like what you see
here, but without the extra search results on the left-hand side.
If there's a better input method for requesting driving directions, that would be fine too.
I would think that providing a map & driving directions to a specific business would be one of the most common uses of the
Google Maps API, but I don't see any examples of what I'm looking for. Surely, there must be a simple, standard way to provide driving directions on your website… Right?
posted by designbot to computers & internet (9 comments total)
2 users marked this as a favorite
You could simply hard code the "To" address ("Mountain View" in their example) and your users would be able to enter their own address.
posted by null terminated at 3:14 PM on June 29, 2007