Skip to content

The Location Map element

The Location Map element allows you to add one or many interactive maps to your pages. Maps can be either loaded from OpenStreetMap or Google maps. The map is configured in the content and can contain multiple markers.

Map with multiple groups

Using OpenStreetMaps

OpenStreetMap elements in Mercury use vector tiles. The maptiler platform is used to deliver the tiles. In order to use these maps in production, you need to set up a maptiler cloud account and set your API key in the property osm.apikey on the root level folder of your website.

Using Google maps

To use Google maps in production, you need to set up a Google maps platform account and set your API key in the property google.apikey on the root level folder of your website.