DataInspectorConfig | Data Inspector Library API Reference
- Last UpdatedJun 16, 2025
- 3 minute read
Hierarchy
- DataInspectorConfig
Implements
Index
Constructors
Properties
Accessors
Constructors
constructor
-
A default constructor.
Parameters
-
props: DataInspectorProps
Initial settings.
-
state: DataInspectorState
Initial state.
Returns DataInspectorConfig
-
Properties
baseMap
Configuration of the base map.
defaultLocale
UI locale with ISO 639-1 language code and ISO-3166 country code pair.
elementId
An ID of an HTML container element.
enable3DRendering
Set to true
to enable or to false
to disable support of altitude for features.
Optional getBearerToken
A function to obtain an access token. Optional in case DIWidgetsProps.authForm is defined.
interactiveDataSources
Refers list of InteractiveDataSource configurations
locales
List of supported locales in format of ISO 639-1 language code and ISO-3166 country code pair. If more than one language is specified, DataInspector will have language selector widget.
Optional logMessages
Set to false
to disable console output.
lookupServiceEnvironment
An environment of Lookup Service.
mapView
Configuration of the map component.
monacoEditorWorkersBasePath
A path to Monaco editor's web workers.
pageUrlParams
Specifies which URL params are saved and restored. When enabled, map position, selected tile and other config options are saved and restored from page URL.
searchServiceEnvironment
streamSaverBasePath
A path to StreamSaver's mitm.html
and sw.js
files.
toolbar
Configuration of the Data Inspector toolbar.
translationsBasePath
A path to Izumi translation JSON files.
widgets
Configuration of the UI widgets.
Accessors
interactiveDataSource
-
Refers to currently selected InteractiveDataSource configuration
Returns undefined | InteractiveDataSourceConfig
selectedInteractiveDataSource
-
Refers to currently selected InteractiveDataSource configuration
Returns undefined | InteractiveDataSourceConfig
Configuration for the Data Inspector with default values.