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 WaypointsConfig

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

    Each setting reaches the waypoints already shown.

    Index

    How the module uses entry points when it displays waypoints on the map.

    An entry point is the actual navigable entrance to a location, which may differ from its geometric centre coordinates.

    Available options:

    • main-when-available - Uses the coordinates of the entry point GetPositionEntryPointOption picks, otherwise 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' visibility, text and look.

    sizeFactor?: number

    Multiplier over the sizePreset, where 1 leaves it unchanged. The two compose.

    Clamped to 0.5 to 2, its range in routingKnobCatalogue.

    1

    sizePreset?: RouteWaypointSize

    Size preset of the waypoint pins and their stop marks.

    "m"

    stopNumbering?: WaypointStopNumbering

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

    "numbers"