@geoapify/route-planner-sdk
Version:
TypeScript SDK for the Geoapify Route Planner API. Supports route optimization, delivery planning, and timeline visualization in browser and Node.js
12 lines (11 loc) • 410 B
TypeScript
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;
}