@honua/sdk-js
    Preparing search index...

    Interface RoutingProviderExperimental

    Provider-pluggable routing contract. Adapters normalize into the same typed result shape; capability differences are declared, not discovered at runtime. Operations outside capabilities throw HonuaCapabilityNotSupportedError under the "strict" capability policy (the default).

    interface RoutingProvider {
        attribution: string;
        capabilities: readonly RoutingCapability[];
        id: string;
        usagePolicyUrl?: string;
        isochrone?(request: IsochroneRequest): Promise<ProviderIsochroneResult>;
        route(waypoints: readonly RouteWaypoint[]): Promise<ProviderRouteResult>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    attribution: string

    Human-readable data attribution the host is obliged to display.

    capabilities: readonly RoutingCapability[]

    Operations this provider supports.

    id: string

    Stable provider identifier, e.g. "osrm".

    usagePolicyUrl?: string

    Usage/acceptable-use policy for the configured endpoint, when known.

    Methods