This is the documentation of version 0.62.3. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias SectionSignPriority

    SectionSignPriority: "belowMapLabels" | "belowRouteIcons" | "aboveRouteIcons"

    What a section's signs give way to when two symbols want the same spot.

    MapLibre resolves symbol collisions from the topmost layer down, so the layer underneath is the one that gives way.

    • belowMapLabels — the signs give way to everything, the base map's own labels included, so a sign never lands on a street or place name, at the cost of showing fewer in a city. Cheap under along placement, where the dropped sign is posted again further down the stretch.
    • belowRouteIcons — the signs give way to the route's own icons, each of which says something the road cannot, but take precedence over the base map's labels.
    • aboveRouteIcons — the signs give way to nothing, for a map whose subject is the limits.