How to add Google Maps driving directions to your church or business on your website
You can use the Embed module to embed a form that allows visitors to enter their address and get directions to your church or business via Google Maps.
Drag and drop the Embed module onto the page
Navigate to the page on which you'd like the directions form to appear (e.g., Contact Us page). Then click on Add Content > Social & Embed > Embed. Once you drop the module onto the page, the Embed Settings dialog will appear.
Edit and paste the code into the module
To build the embeddable form, follow these steps:
- Replace the Enter Address Here text in the code below with your physical address. (Be sure to include the quotation marks around the address.)
- Copy the entire code (which now includes your address).
- Paste the code into the Embed Settings dialog.
<form action="http://maps.google.com/maps" method="get" target="_blank"> <br> Enter your starting address: <br> <input type="text" name="saddr" /> <br> <input type="hidden" name="daddr" value="Enter Address Here" /> <br> <input type="submit" value="Get Directions" /> <br> </form>
Once finished, click the green Save button in the Embed Settings dialog. The following form will now appear on your site:
As a final step, don't forget to Publish the page.