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

    Type Alias SideRoad

    Side road information.

    type SideRoad = {
        isDrivable?: boolean;
        offsetFromManeuverInMeters: number;
        side: SideRoadSide;
    }
    Index
    isDrivable?: boolean

    Whether the side road can actually be driven into.

    A non-drivable side road still matters for a junction diagram — the driver can see it — but cannot be taken by mistake.

    offsetFromManeuverInMeters: number

    Offset (on route) of the side road from the maneuver point (represented by maneuverPoint), in meters. The offset is absolute, i.e., it is a positive integer despite that the side road is located before the maneuver on the route.

    Side from where the road connects to the route.