Adding popups to markers
Last updated
Last updated
The Beautiful Maps - Mapbox plugin allows you to add custom popups that appear when the user clicks on a marker:
You can add popups that appear when markers are clicked by adding a list of texts to the 'Popup Content' field on the 'Add List of Markers' action.
Please note that in the above example I'm using the 'formatted address' operator to transform geographic addresses to texts/
You can also pass through a list of HTMLs if you want to really customise the popups - this is how we created the example in the GIF at the top of this page:
The below video tutorial shows how you can add custom popups to makers on your map. The relevant section is from 32:10 to 55:16.
You can view an example of adding a popup to each marker at the demo app below:
The editor is public and can be accessed by clicking the 'View Editor' button at the top of the page.
IMPORTANT: The above video tutorial uses the to allow the plugin to access the HTML used for the popup content. This is no longer our recommended approach and the RepeatingGroup Tools (bdk) plugin is not necessary. Instead, we recommend you view the demo app at the link below for an alternative setup (which is very similar)