Whether the outdoorView is enabled.
Returns a Maplibre map for advanced usage.
Maplibre map instance
Limitations:
Whether the outdoorView is visible.
Hide the outdoor map.
{string[]}
Set outdoor view opacity.
{number | 'initial'}
{string[]}
Set the style of the outdoor map. Use one of Mappedin's predefined styles or link to a custom style.
{any}
Show the outdoor map.
The outdoor map shown around the Mappedin indoor map can be manipulated to show or hide additional information. It can be used to add GeoJSON based geometry, images, deck.gl layers and more.
The outdoor map is accessed using MapView.Outdoor, which returns a maplibregl.Map object. MapLibre GL JS is a TypeScript library that uses WebGL to render interactive maps from vector tiles in a browser. The Mappedin SDK makes use of it to display the outdoor map.
By providing access to the MapLibre map used to draw the outdoor map, the Mappedin SDK enables developers to draw on and manipulate the outdoor map. Developers can use most capabilities of MapLibre GL JS with key exceptions being Interactivity and Camera, which are not available.
User touch and click events are handled by Mappedin JS and are not propagated to the outdoor map layer. Camera movement is also handled by Mappedin JS and cannot be manipulated using MapLibre controls.
Refer to the Outdoor Map Guide for more information and interactive examples.