Global configuration singleton for the TomTom Maps SDK.
Manages SDK-wide configuration settings that apply to all services and maps.
Uses the singleton pattern to ensure consistent configuration across the application.
Remarks
Configuration set via this class is merged with service-specific parameters,
with service parameters taking precedence over global settings.
Example
// Set global configuration TomTomConfig.instance.put({ apiKey:'your-api-key', language:'en-US' });
// Get current configuration constconfig = TomTomConfig.instance.get();
// Reset to defaults TomTomConfig.instance.reset();
Global configuration singleton for the TomTom Maps SDK.
Manages SDK-wide configuration settings that apply to all services and maps. Uses the singleton pattern to ensure consistent configuration across the application.
Remarks
Configuration set via this class is merged with service-specific parameters, with service parameters taking precedence over global settings.
Example