Gets the name of the map.
The name of the map.
Gets the organization ID of the map.
The organization ID of the map.
The token is used to fetch outdoor tiles, which will then be rendered.
The outdoor view token.
Retrieves a specific map feature by its type and ID.
The type of the element to retrieve (e.g., 'space', 'object').
The ID of the element.
The feature with the given type and ID, or undefined
if it does not exist.
const space = mapData.getById('space', 'space-id');
Retrieves all map elements of a specific type.
The type of elements to retrieve (e.g., 'space', 'object').
An array of elements of the given type.
const spaces = mapData.getByType('space');
Represents the data for a map, providing access to map elements like spaces, floors, and points of interest.