Interface IRoutePath

interface IRoutePath {
    bbox: [number, number, number, number];
    distance: number;
    instructions: IInstruction[];
    points: {
        coordinates: [number, number][];
        type: string;
    };
    snapped_waypoints: {
        coordinates: [number, number][];
        type: string;
    };
    time: number;
}

Properties

bbox: [number, number, number, number]
distance: number
instructions: IInstruction[]
points: {
    coordinates: [number, number][];
    type: string;
}

Type declaration

  • coordinates: [number, number][]
  • type: string
snapped_waypoints: {
    coordinates: [number, number][];
    type: string;
}

Type declaration

  • coordinates: [number, number][]
  • type: string
time: number