Map
Theme section
Last updated
Theme section
Last updated
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.
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.
To add a Google Map, you will need to set up 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.
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.
Click on the section to find the following settings:
Setting | Description |
---|---|
Heading | Enter heading text to display as a section title. |
Store information | Add your store information, like your address and hours. |
Image | Select or upload an image to be displayed. |
Map address | Add a street address that Google Maps can use to find your store. |
Google Maps API key | Add your Google Maps API key. You can generate one using the directions |
Custom map JSON | You can paste JSON configuration in this field to change the look and feel of your map. You can find some map presets using Google's Map styles. |
Map link text | Add link text for the map link generated by Google Maps. |
Related links