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.

10 lines (9 loc) 285 B
import { LocationData } from "../../../interfaces"; export declare class Location { private raw; constructor(raw?: LocationData); getRaw(): LocationData; setRaw(value: LocationData): this; setId(id: string): this; setLocation(lon: number, lat: number): this; }