Fixed Popup Position

Keep popups in a fixed position for a predictable marker interaction

Map Styles
mapbox-style-icemint-brew

Icemint Brew

by Treweler

In addition to the popup’s position above the marker, a fixed placement can be selected through the marker or template settings. One of the four corners of the map can be chosen for the popup to appear, with horizontal and vertical offsets in pixels for precise positioning.

On the demo map, popups are configured to display in the top-left corner with 30px horizontal and vertical offsets. Clicking on the markers shows how this feature works in action.

You’re a few clicks away
from discovering the joy of mapping