The approximate center coordinate (Coordinate) of the map.
The center coordinate of the map.
The name of the map.
The name of the map.
The organization ID of the map.
The organization ID of the map.
The token is used to fetch outdoor tiles.
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.
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.
The spaces (Space) on the map.
The doors (Door) on the map.
The floors (Floor) on the map.
The connections (Connection) on the map.
The objects (MapObject) on the map.
The points of interest (PointOfInterest) on the map.
The annotations (Annotation) on the map.
Unsubscribe a function previously subscribed with on
An event name to which the provided function was previously subscribed.
A function that was previously passed to on. The function must have the same reference as the function that was subscribed.
Subscribe a function to an event.
An event name which, when fired, will call the provided function.
A callback that gets called when the corresponding event is fired. The callback will get passed an argument with a type that's one of event payloads.
Represents the data for a map, providing access to map elements like spaces, floors, and points of interest.