This is the documentation of version 0.55.1. 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. Sparse maps, and the price of a tidy one: in a city the labels take most of the room. Affordable because a sign repeats along its stretch, so one dropped where a label sits reappears further along.
    • 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.