TomTom Maps for JavaScript
    Preparing search index...

    Type Alias RangesEntry

    A single entry in the reachable range history. Holds one or more ReachableRange results that were computed together — typically one per origin in a multi-origin call to findReachableAreas.

    type RangesEntry = {
        _modules?: { geometries?: GeometriesModule; places?: PlacesModule };
        _shown?: boolean;
        _shownTheme?: "filled" | "outline" | "inverted";
        id: string;
        label: string;
        ranges: ReachableRange[];
        timestamp: number;
    }
    Index

    Properties

    _modules?: { geometries?: GeometriesModule; places?: PlacesModule }

    Per-entry display modules. Each entry owns a dedicated GeometriesModule (for the isochrone polygons) and PlacesModule (for the origin pin(s)), so display state lives on the entry instead of a shared slice-level module. Lazy-initialised via RangeState helpers — undefined until first show.

    _shown?: boolean

    True while any of this entry's modules are rendering on the map.

    _shownTheme?: "filled" | "outline" | "inverted"

    Theme that the geometries module is currently configured with.

    id: string
    label: string
    ranges: ReachableRange[]

    One or more ranges sharing this entry — typically one per origin.

    timestamp: number