TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CustomGeometriesEntry

    A single entry in the custom-geometries history — output of processData (and any future polygon-producing tool that doesn't naturally belong to places or ranges).

    type CustomGeometriesEntry = {
        _analysis?: CustomGeometriesAnalysis[];
        _module?: GeometriesModule;
        _shown?: boolean;
        _shownTheme?: "filled" | "outline" | "inverted";
        features: PolygonFeature[];
        id: string;
        label: string;
        provenance: GeometryProvenance;
        timestamp: number;
    }
    Index

    Properties

    Accumulated analysis results linked to this entry.

    _module?: GeometriesModule

    Per-entry GeometriesModule. Each entry owns its own module so display state (theme, current features) lives on the entry instead of a shared slice-level module. Lazy-initialised via CustomGeometriesState helpers.

    _shown?: boolean

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

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

    Theme that the geometries module is currently configured with.

    features: PolygonFeature[]

    The polygons stored on this entry (Polygon / MultiPolygon GeoJSON Features).

    id: string
    label: string
    provenance: GeometryProvenance

    Inputs and operation that produced this entry.

    timestamp: number