Function show3dMap

Render a Mappedin map into the given DOM container and return its MapView.

This is the main entry point for Mappedin JS. Combine with getMapData to load venue data and render an interactive 3D map.

const mapData = await getMapData({ key: '...', secret: '...', mapId: '...' });
const mapView = await show3dMap(document.getElementById('mappedin-map')!, mapData);