Map
Theme section
Use the Map section to promote your brick-and-mortar retail stores. This section is designed specifically for your address information and store hours.
At the bottom of the map section's image, you can create a link to another page, perfect for linking to Google Maps with directions to your store.
Set up section
Add this section to any template (except Checkout) and use the drag-and-drop handles to re-order its position. You can add this section multiple times with different content and settings.
Editing a template changes all pages that use that template. To edit specific pages, you can create and assign new templates or use metafields and dynamic sources.
Configure your map
To add a Google Map, you will need to set up a Google Maps API Key.
Get a Google Maps API key
Here's what you need to do to get a Google Maps API key:
After this process, you are granted a Google Maps API key, which you can copy into Lorenza's map section Google Maps API Key field:
The API key should be a large jumbled string of characters, like this: AIzaSyCuv0hqbs8Itd_UvRQ0gAkwe5OxkYw_q08
.
We recommend that you restrict your API key so it can only be used on requests to your store's URL (like https://your-store.com
). You can restrict to multiple URLs if you also want to add your https://your-store.myshopify.com
address for testing purposes.
The following video shows you how to do this from the Google Cloud Platform Google Maps dashboard here:
If you lost your API key, you can find it again (or regenerate it) from the Google Cloud Platform API Credentials page.
Custom map JSON
Using JavaScript Object Notation (JSON), a form of JavaScript code used to send structured information and configuration, you can change the look and feel of your map.
Using the Google Maps Platform Styling Wizard website, you can choose different map themes or tweak map settings.
Check out the following video for more information:
Once you have copied the JSON to your clipboard, you can paste it into Lorenza's Custom map JSON setting.
Settings reference
Click on the section to find the following settings:
Related links
Last updated