Experimental
The HTMLElement where the map will be rendered.
The data to be used for rendering the map.
Optional
options: TShow3DMapOptionsOptional parameters for map display.
A promise that resolves to the MapView instance.
const mapData = await getMapData({ key: 'api_key', secret: 'api_secret', mapId: 'id' });
const mapContainer = document.getQuerySelector('body');
const map = await show3dMap(mapContainer, mapData, { auto: true });
Asynchronously displays a 3D map inside a specified HTML element and returns a MapView instance.