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 BYODDataProfile

    Token-frugal description of a BYOD FeatureCollection's runtime shape: feature count, the geometry types present, and a per-property profile. Stored on every BYODEntry and surfaced through addByodSource / recallState so the model never has to receive raw GeoJSON just to learn the schema.

    type BYODDataProfile = {
        featureCount: number;
        geometryTypes: string[];
        properties: BYODPropertyProfile[];
        propertiesOmitted?: number;
    }
    Index

    Properties

    featureCount: number
    geometryTypes: string[]

    GeoJSON geometry types present (Point / LineString / Polygon / …).

    properties: BYODPropertyProfile[]

    Per-property profile, highest-coverage first. Capped — see propertiesOmitted.

    propertiesOmitted?: number

    Count of property keys omitted when the collection has more distinct keys than the cap.