This is the documentation of version 0.49.0. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias BYODPropertyProfile

    Compact profile of one feature-properties key across the whole collection.

    type BYODPropertyProfile = {
        coverage: number;
        examples: (string | number | boolean)[];
        name: string;
        types: string[];
    }
    Index

    Properties

    coverage: number

    Fraction of features carrying this key, 0–1 (1 = present on every feature).

    examples: (string | number | boolean)[]

    Up to a few short, distinct example values — lets the LLM infer semantics.

    name: string

    Property key as it appears in feature.properties.

    types: string[]

    Distinct JSON value types seen for this key (e.g. ["string"], ["number", "null"]).