TomTom Maps for JavaScript
    Preparing search index...

    Type Alias BYODDatasetInput

    BYODDatasetInput: Omit<DatasetInput<BYODDataset>, "producedFrom"> & Partial<
        Pick<BYODDataset, "producedFrom">,
    > & { layers?: CustomGeoJSONLayerSpec[] }

    What a caller passes to BYODState.addDataset. layers defaults to none, so the dataset renders nothing until the agent sets them via setByodLayers, and producedFrom to { kind: 'integrator' }.

    Type Declaration

    • Optionallayers?: CustomGeoJSONLayerSpec[]

      The MapLibre layer specs the dataset renders under, as BYODDatasets.getDatasetLayers returns them.