Maps
Overview
Find these under Locations → Settings, in Maps. They turn on maps and choose the map service for location pages and the Location Map and Location Search blocks.
These settings used to be under Appearance → Customize → Dirigible Locations → Mapping. They moved with the same values, and old links to the Customizer open the new page.
Settings
- Enable Mapping: interactive maps, a map field on each location, and the Location Map and Location Search blocks. The other map settings show once it's on.
- Map Provider: Google Maps or OpenStreetMap. OpenStreetMap needs no key.
- Map Tiles: the map style when using OpenStreetMap. Each style shows a small preview.
- Stadia API Key: shows when you pick a Stadia or Stamen style (marked *), which need it
- Carto API Key: shows when you pick a Carto style, which need it
- Google Maps API Key: required for Google Maps
- Cookie Prompt: shown in place of a Google map until the visitor accepts cookies
Tips
- Create your Google key in the Google Cloud Console and restrict it to your site's domain.
- Map keys are visible in your site's page source, so restrict each one to your site's domain in the provider's dashboard. List both
example.comandwww.example.comif your site answers on both. - A Carto or Stadia style without its key shows the standard OpenStreetMap tiles until you add the key.
Settings
Maps
Turns on interactive maps, map pins on locations, and the Location Map and Location Search blocks. More map settings appear once it's on.
The look of OpenStreetMap maps. Each style shows a preview. Carto styles need a Carto API key, and styles marked * need a Stadia API key.
Needed for the Stadia and Stamen map styles. Without one, those styles show standard OpenStreetMap tiles instead.
Needed for the Carto map styles. Get a free key from carto.com/basemaps/apikey. Without one, Carto styles show standard OpenStreetMap tiles instead.
Needed for Google Maps. Create one in the Google Cloud Console.
Shown in place of a Google map until the visitor accepts cookies.