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:
NameTypeDescription
elementIdstringId of DOM element in which map should be mounted
configMountConfigStart 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},
            });