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

    Type Alias BYODSource

    BYODSource:
        | { description?: string; kind: "integrator" }
        | { kind: "url"; url: string }
        | { description?: string; kind: "inline" }

    Where a BYOD entry came from.

    • integrator: seeded programmatically by the embedding app (e.g. user-uploaded file).
    • url: fetched from a URL via addByodSource.
    • inline: passed as inline GeoJSON via addByodSource.