Connections
Mappedin SDK version 6 is currently in a beta state while Mappedin perfects new features and APIs. Open the v6 release notes to view the latest changes.
Using Mappedin JS with your own map requires a Pro license. Try a demo map for free or refer to the Pricing page for more information.
Map connections are pathways in multi-floor maps that enable vertical or horizontal movement between levels or spaces. They include stairs, elevators, and escalators, providing essential links for seamless navigation and spatial continuity across the map. The Connection includes details such as name, description, floors, coordinates and more.
Connection contains an array of coordinates
, with each coordinate
representing the location of the connection on a specific floor. In the case of an elevator, each coordinate
would have latitude
and longitude
values that are the same with different floorIds
. Stairs may have coordinates
with the same or different latitude
and longitude
values on each floor, depending on whether a building's stairs are vertically aligned.
The following CodeSandbox loops through all connections
and adds a Label using the Connection.name for each Connection that is connected to the currently displayed floor. Zoom into the map to view all connection labels.