UNPKG

@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.

17 lines (16 loc) 580 B
import { RouteAction } from "./route-action"; import { WaypointData } from "../../../interfaces"; export declare class Waypoint { private readonly raw; constructor(raw?: WaypointData); getRaw(): WaypointData; getOriginalLocation(): [number, number]; getOriginalLocationIndex(): number | undefined; getOriginalLocationId(): number | undefined; getLocation(): [number, number]; getStartTime(): number; getDuration(): number; getActions(): RouteAction[]; getPrevLegIndex(): number | undefined; getNextLegIndex(): number | undefined; }