Members
(static) window.ev
- Implements
- window.ev.EmbeddedExplorer using the EmbeddedExplorer class.
- Deprecated
- window.ev.IntegratedViewer is deprecated and will be removed in a future release.
Methods
(static) mount(elementId, config)
Mounts the embedded explorer component into given DOM element and initializes its configuration. Supported configurations are outlined in Mount Config.
Parameters:
Name | Type | Description |
---|---|---|
elementId | string | Id of DOM element in which map should be mounted |
config | MountConfig | Start up config for map |
Examples
const evembeddedexplorer = new window.ev.EmbeddedExplorer();
const map = evembeddedexplorer.mount('root', {
authToken: 'AuthTokenString...',
measurementPanelEnabled: false,
view: {lonLat:{lon: 23, lat: 45 }},
});
const evembeddedexplorer = new window.ev.EmbeddedExplorer();
const map = evembeddedexplorer.mount('root', {
authToken: 'AuthTokenString...',
measurementPanelEnabled: false,
view: {lonLat:{lon: 23, lat: 45 }, zoom: 17, pitch: 5, rotation: 50},
});