How to create non-colliding marker overlays
Create non-colliding marker overlays to display the information from the city and town label layers. The Marker Layout is a helper to create non-colliding marker overlays on top of MapTiler SDK.
In this example, we are using the filter
function to only create markers in features of type "city"
, "village"
or "town"
.
Learn more
Check out the Marker Layout JS module reference
Related examples
An extension of MapLibre GL JS