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

    Type Alias WaypointLabelConfig

    WaypointLabelConfig: FeatureLabelConfig<DisplayWaypoint> & { visible?: boolean }

    The waypoint labels' visibility, text and look.

    Type Declaration

    • Optionalvisible?: boolean

      Whether the labels show.

      true

    Unset colours follow the map's light/dark theme, as the labels of places and geometries do. A light map gets '#333333' text on a '#FFFFFF' halo, and a dark one the two swapped. By default a label writes the waypoint's POI name or address, and under it how long the route waits there.