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.

12 lines (11 loc) 410 B
import { ShipmentStepData } from "../../../interfaces"; export declare class ShipmentStep { private raw; constructor(raw?: ShipmentStepData); getRaw(): ShipmentStepData; setRaw(value: ShipmentStepData): this; setLocation(lon: number, lat: number): this; setLocationIndex(value: number): this; setDuration(value: number): this; addTimeWindow(start: number, end: number): this; }