Constructor function for the Legacy map
Venue id
Base venue URL
Optional configuration options for the legacy map
Returns and array of the currently selected floors
An array floors
Get the Floor using the id
The floor id
The Legacy floor instance or undefined if no floor is found
The list of all floors in the Venue map
The List of floors
Asynchronous initialization of the venue map loads the venue data to create the internal model that represents the venue map
The instance of this class after initialization
An Exception if the data model can't be loaded
Asynchronous loads the MapLibre instance and renders the venue map, to be called before any UI interaction with the map
The html element where the map will be inserted
Access token for TileMap services
Position of the map controls
Render within the map provider street style
Resolver instance that gets the URL path for the site map xml file
The venue name or id
The base URL
The URL path for the XML site map file
Generated using TypeDoc
The aegir LegacyMap model contains all of the functions for supporting legacy venue map data files in your web application. Import the @aegirmaps/aegir-js-sdk module in your ES6 web application and legacy venue map data files will be handled seamlessly. There is no additional work required.
Since
2.0.0
Example