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

    Type Alias WaypointsConfig

    How the module draws the waypoints RoutingModule.showWaypoints is given.

    Each setting reaches the waypoints already shown.

    Index

    Controls how entry points are used when displaying waypoints on the map.

    Entry points represent the actual navigable entrance to a location, which may differ from the geometric center coordinates.

    Available options:

    • main-when-available - Uses the main entry point coordinates when available, falling back to the waypoint coordinates
    • ignore - Always uses the original waypoint coordinates

    "ignore"

    How a hovered or clicked waypoint is drawn.

    The waypoint pins, per role, and an optional icon per waypoint picked from its data.

    The waypoint labels: whether they show, what they say and how they look.

    Size preset of the waypoint pins and their stop marks.

    "m"

    sizeFactor?: number

    Multiplier over the size preset, 1 leaving it unchanged; the two compose.

    Clamped to 0.5 to 2, its range in routingKnobCatalogue.

    1

    stopNumbering?: WaypointStopNumbering

    How the stops between origin and destination are marked inside their pin.

    "numbers"