Optionalevents?: MapEventsConfigHow user events are detected and timed, and which cursors they show, for every module. Change it later with TomTomMap.updateEventsConfig.
MapLibre-specific options for map configuration.
Includes options for viewport settings, interaction controls, rendering options, and more.
OptionalregisterMapLibreWorker?: booleanWhether the map starts MapLibre's web worker from the copy your bundler builds out of your own maplibre-gl,
served from your app's origin. A Vite build or dev server then renders the map with no worker setup.
MapLibre's own worker lookup stays in place when you already called its setWorkerUrl, when MapLibre loads
unbundled (from a CDN or an import map), and under bundlers that build classic workers, as webpack does by
default. Pass false to keep MapLibre's lookup in every case.
Optionalstyle?: StyleInputMap style to load.
If not specified, defaults to 'standardLight'.
Parameters for initializing a TomTom map instance.
Combines global SDK configuration with map-specific settings like style, events, and MapLibre options. All GlobalConfig properties (apiKey, commonBaseURL, etc.) are optional and will be merged from global configuration. Only mapLibre.container is strictly required.