UNPKG

@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) 568 B
import { RouteResultEditorBase } from "../route-result-editor-base"; export declare class WaypointMoveHelper { static execute(context: RouteResultEditorBase, agentIdOrIndex: string | number, fromWaypointIndex: number, toWaypointIndex: number): Promise<void>; private static validateWaypointIndex; private static validatePickupDeliveryOrder; private static findShipmentActionPosition; private static mapMovedWaypointIndex; private static mergeAdjacentDuplicateLocations; private static haveSameLocation; private static mergeWaypoints; }