TomTom Maps for JavaScript
    Preparing search index...

    Type Alias Waypoints<T>

    GeoJSON FeatureCollection of waypoints.

    Contains multiple waypoints that together define a multi-stop route.

    Type Parameters

    • T extends Anything = Anything

      Additional custom properties for individual waypoints

    const waypoints: Waypoints = {
    type: 'FeatureCollection',
    features: [
    { type: 'Feature', geometry: { type: 'Point', coordinates: [4.9, 52.3] }, properties: {} },
    { type: 'Feature', geometry: { type: 'Point', coordinates: [4.95, 52.35] }, properties: {} }
    ]
    };