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

    Class DirectionsViewModelCompat

    The Esri DirectionsViewModel shape used by webpack 4.x apps: a view, a stop collection, load, getDirections, and reset. With no custom route provider, load reads travel modes and getDirections solves routeServiceUrl (the Esri world route service by default).

    Index

    Constructors

    Properties

    loaded: boolean
    routeServiceUrl: string
    selectedTravelMode: unknown
    stops: { addMany(stops: readonly unknown[]): void; removeAll(): void }
    travelModes: { name?: string }[]

    Filled from the route service during load. find returns undefined until then.

    view: unknown

    Methods