This is the documentation of version 1.0.0-rc.7. Go to the latest version, 1.0.0.
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 (clearMap, recallState, setDatasetMode, …) are intentionally absent, since they keep working regardless of which kinds are disabled.