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

13 lines (12 loc) 395 B
import { AvoidType, DistanceUnitType, RouteType, TrafficType, TravelMode } from "../types"; import { RouteDetailsType } from "../types/route-details-type"; export interface RoutingOptions { mode: TravelMode; type?: RouteType; units?: DistanceUnitType; lang?: string; avoid?: AvoidType[]; details?: RouteDetailsType[]; traffic?: TrafficType; max_speed?: number; }