Documentation
    Preparing search index...

    Type Alias RouteOptions

    type RouteOptions = {
        avoidEmissionZones?: boolean;
        avoidFerry?: boolean;
        avoidHighways?: boolean;
        avoidToll?: boolean;
        avoidTrafficIncidents?: boolean;
        includePolyline?: boolean;
        language?: string | null;
        optimization?: RouteOptimization;
        referenceTime?: string;
        timeConsiderationType?: TimeConsiderationType;
        vehicle?: VehicleType;
    }
    Index

    Properties

    avoidEmissionZones?: boolean

    Force the routing algorithm to avoid emissionzones

    avoidFerry?: boolean

    Force the routing algorithm to avoid ferries

    avoidHighways?: boolean

    Force the routing algorithm to avoid freeways

    avoidToll?: boolean

    Force the routing algorithm to avoid tollroads

    avoidTrafficIncidents?: boolean

    Force the routing algorithm to avoid current traffic

    includePolyline?: boolean

    Include the polyline of the route. The polyline is a list of sequential coordinates of roadnodes

    language?: string | null

    The language of texts such as maneuver or traffic-incident descriptions. Defaults to nl. This standard allows to use two-letter ISO 639-1 codes

    optimization?: RouteOptimization
    referenceTime?: string
    timeConsiderationType?: TimeConsiderationType
    vehicle?: VehicleType