Adding a Google Map to Your Site

Here is how to add a Google Map to your Spectra site.

1. Go to Google Maps and type in the business name or address in the search bar in the top left. Select the correct business/location from the dropdown list, if applicable then click on the Share button.
Google Maps Share

2.In the Share modal, click on Embed a map
Google Maps Share Modal

3.Click on Copy HTML.
Google Maps Embed

4.Go back to WordPress and add a text block where you want to display the map. Go to the Text Block Content area and click on Text view, then paste the HTML code you copied.
Adding a Google Maps iframe to a text block

5.If you want to center align the Google Map, add the following code:
Before the Google Maps HTML code, add: <div style=”text-align: center;”>
After the Google Maps HTML code, add: </div>

Centering a Google Maps iframe