@geoapify/route-planner-sdk
Version:
A TypeScript SDK for the Geoapify Route Planner API that simplifies route optimization requests, and helps visualize and edit resulting routes.
13 lines (12 loc) • 388 B
TypeScript
import { ActionResponseData } from "./action-response-data";
export interface WaypointResponseData {
original_location: [number, number];
original_location_index?: number;
original_location_id?: number;
location: [number, number];
start_time: number;
duration: number;
actions: ActionResponseData[];
prev_leg_index?: number;
next_leg_index?: number;
}