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

    Type Alias WaypointHighlightConfig

    How a hovered or clicked waypoint is drawn: its pin and its stop mark grow.

    The waypoints draw their event states once a handler covers them, or routing.events.waypoints.putEventState puts one.

    type WaypointHighlightConfig = {
        sizeFactor?: number;
    }
    Index
    sizeFactor?: number

    Multiplier on the size of a hovered or clicked waypoint's pin; 1 draws it as any other.

    Clamped to ROUTE_WAYPOINT_HIGHLIGHT_SIZE_FACTOR_RANGE, 1 to 1.5.

    1.2