On this page

    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

    An extension of MapLibre GL JS

    Was this helpful?

    SDK JS
    Examples
    How to create non-colliding marker overlays
    Filtered Marker Layout