TomTom Maps for JavaScript
    Preparing search index...

    Variable TOOLS_BY_DATASET_KINDConst

    TOOLS_BY_DATASET_KIND: Record<DatasetKind, readonly ToolName[]>

    Default tool names that should be dropped from the registry when a DatasetKind is disabled. Only default-tool names are listed here. User-supplied custom tools are never filtered automatically. To gate your own tools on enabled kinds, read datasets yourself.

    Tools that span multiple kinds (updateDatasetDisplay, recallState, setDatasetMode, …) are intentionally absent, since they keep working whichever kinds are disabled. updateDatasetDisplay and setDatasetMonitor narrow their slice to the enabled kinds, and setDatasetMonitor leaves once routes and incidents are both disabled.