Note: We now offer a FREE wizard that does this all for you.
Click here to configure it and add to your WIX website in seconds.
In this tutorial you will learn how to add Google Maps to Wix. You can use Google Maps with all Wix accounts – both free and paid. Adding a Google Map on your Wix website has a number of benefits:
- Location: A Google Map helps your customer find your physical business. You can offer directions and even interactivity to your users.
- Authenticity: Advertising your physical location lends authenticity and credibility to your website. It lets your audience know that you are not a fly-by-night, who exists only in cyberspace.
- Convenience: Not all site visitors have the skill or patience to find your address on Google Maps themselves. Providing a map on your Wix site bypasses the need for this.
The Wix editor provides out-of-the-box support for simple Google Maps. The built-in function gives you a lot of choice when it comes to style and visual appearance, but does not offer all the features available for Google Maps.
If you need more advanced functionality, you can embed a Google Map on your Wix page. To do this, you create the map on the Google Maps site and then paste the code onto your Wix website page.
Adding a simple Google Map in the Wix editor 1
Accessing your site in the Wix editor 1
Adding a Google map in the Wix editor 3
Setting your address in the Google Map 4
Setting the Google Map behaviour 5
Troubleshooting the Google Map address 6
Making your Google Map responsive 7
Embedding a Google Map in a Wix page 9
Creating a map on Google Maps 9
Embedding the Google Map code on a Wix page 10
Adding a simple Google Map in the Wix editor
Follow our step-by-step guide to adding Google Maps to your Wix website. It only takes a few clicks to display a map.
Accessing your site in the Wix editor
To access your site in the Wix editor:
- Login to your Wix account.
- Select the site you want to work on, if necessary.
- Click Manage & Edit Site.
- In Site Manager click Edit Site.
- Your site opens in the Wix editor.
Adding a Google map in the Wix editor
To add a Google map:
- Select a page.
- Click a page area to select it.
- Click Add > Contact and then scroll to the Google Maps section of the Add a Contact Tool.
- Click the map style you want and drag it onto the page.
- Use the handlebars to resize the map to suit your page design.
|The map is dynamic and as you stretch and shrink it, more or less of the area surrounding the target address displays.|
Setting your address in the Google Map
The address of the Wix office is used by default when you add the map.
To set your address:
- Click on the map to display the controls.
- Click Change Address.
- In Google Maps Settings:
- What’s your location?: Enter your address or the location you want users to find and then press Enter. If Google Maps recognizes the address, a green tick displays to indicate this. If you experience difficulties, please see Troubleshooting the Google Map address below.
- Want to show a description?: Optionally enter a description. This text displays in a callout pointing to the red pin. You can ignore this field if you like.
|It is only possible to add one location. If you need to show more than one, you can embed a Google Map.|
Setting the Google Map behaviour
There are a number of options to control what your visitors see and what they can do when interacting with the Google Map.
To set the behaviour:
- Click the map to activate the controls.
- Click the setting icon.
- In Google Maps Settings click the toggle buttons to enable and disable options:
- Show map and satellite views: Displays the Map | Satellite links that allow visitors to switch views.
- Show zoom control: Displays the + and – icons that allow visitors to zoom in and out.
- Show Street View control: Displays the street view icon that allows visitors to use Google Street View.<street-view-icon.png>
- Allow dragging: Allows visitors to move around the map by clicking and dragging.
- What language is the button in?: Click the down arrow and select your language from the dropdown, if necessary.
Troubleshooting the Google Map address
If Google Maps does not recognize your address or show your address correctly, you can use your coordinates instead of the physical address in the What is your location field?.
To find your coordinates:
- Go to Google Maps at https://maps.google.co.uk (or your country equivalent).
- Enter your address into the search box.
- Right-click the pinned location on the map and click What’s here?
- Copy the coordinates that appear in the pop up.
- On your Wix page, click the Google Map in the editor to activate the controls.
- Click the settings icon
- Paste the coordinates your copied in the What’s your location? field.
Making your Google Map responsive
Simple Google Maps are static by default. You can test this by progressively narrowing and widening your browser window while observing the map’s behaviour.
To make your Google Map responsive:
- Click your map to activate the controls.
- Click the stretch icon.
- In Stretch Map:
- Stretch to full width: Click on the toggle button to enable this. The map will stretch to cover the full width of the page.
- Margins: Use the slider to set margins on the left and right of the map. You can use pixels or percentage. Maximum settings are 80px or 5%.
- There are many available tools to test responsiveness. This is how our map displays on an iPad Pro in Google Chrome’s Responsive tool. Go to More Tools > Developer Tools in Chrome to access this tool.
|You can also insert a responsive Google Map from Add > Contact > Full Width Google Maps. This has the same effect as adding a static map and applying the stretch function.|
Embedding a Google Map in a Wix page
While the simple Google Maps available out-of-the box in the Wix editor offer a great solution for most websites, they do not provide the full functionality that is possible when you create a custom map on the Google Maps site.
Limitations of the out-of-the box Wix solution include:
- You can only mark a single location.
- You cannot render a Street View image.
To get the full power of Google Maps you need to create your map on the Google Maps site and then embed the code on a page of your Wix site.
Creating a map on Google Maps
The first step is to create a map on the Google Maps site.
To create a map on Google Maps:
- Open Google Maps at www.maps.google.co.uk (or your country’s equivalent).
- Make sure the map, Street View image, or directions you’d like to embed show up on the map.
- In the top left corner, click the menu icon <google-maps-menu-icon.png> .
- Click Share or embed map.
- Select the Embed map tab, and then select the size you want and copy the HTML embed code.
- Paste the code into Notepad or a similar program for now. We will use it to display the embedded map in our Wix site.
Embedding the Google Map code on a Wix page
The next step is to paste the embed code copied from Google Maps on a page.
To display an embedded Google Map on your Wix website:
- Select a page and go to Add > More > Embeds.
- Drag HTML Code onto the page. This allows you to add custom HTML code on your page. < html-code-icon.png>
- Click Enter Code.
- Paste the code you copied from Google Maps into the Add your code here box. Wix will verify the code and indicate that it is valid with a green tick.
- Click Apply.
- The embedded map renders on the page. You may have to resize the element to suit your page and the size of the Google Map.
We hope you have enjoyed this tutorial on how to add Google Maps to your Wix website!
May lots of new customers find you and make your business boom.