TomTom Maps for JavaScript
    Preparing search index...

    Type Alias RoutesEntry

    A single entry in the route calculation history.

    type RoutesEntry = {
        _analysis?: RoutesAnalysis[];
        _module?: RoutingModule;
        _shown?: boolean;
        data: Routes;
        id: string;
        label: string;
        params: RouteParams;
        timestamp: number;
        waypoints: WaypointLike[];
    }
    Index

    Properties

    _analysis?: RoutesAnalysis[]

    Accumulated analysis results linked to this entry.

    _module?: RoutingModule

    Per-entry RoutingModule. Each entry owns its own module so display state (which route variant is selected, which waypoints are shown, layer theme) lives on the entry instead of a shared slice-level module. Lazy-initialised via RoutingState helpers — undefined until first show.

    _shown?: boolean

    True while this entry's _module is rendering routes/waypoints on the map.

    data: Routes
    id: string
    label: string
    params: RouteParams
    timestamp: number
    waypoints: WaypointLike[]