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.

20 lines (19 loc) 596 B
import { RouteLeg } from "./route-leg"; import { AgentSolutionData } from "../../../interfaces"; import { RouteAction } from "./route-action"; import { Waypoint } from "./waypoint"; export declare class AgentSolution { private readonly raw; constructor(raw?: AgentSolutionData); getRaw(): AgentSolutionData; getAgentIndex(): number; getAgentId(): string; getTime(): number; getStartTime(): number; getEndTime(): number; getDistance(): number; getMode(): string; getLegs(): RouteLeg[]; getActions(): RouteAction[]; getWaypoints(): Waypoint[]; }