Classes
Members
Methods
# getDisplayRule(location) → {DisplayRule}
Retrieves the display rule for a given location.
This method combines the main display rule from the solution configuration, the display rule associated with the location type, and the display rule specific to the location itself. It merges these rules in the specified order to determine the final display rule for the location.
Parameters:
Name | Type | Description |
---|---|---|
location |
LocationDataModel
|
The location data model for which to retrieve the display rule. |
The merged display rule for the location, or null if no display rule is found.
# async getLocation(locationId) → {Promise.<LocationEditor>}
Gets the location with the specified unique identifier.
Parameters:
Name | Type | Description |
---|---|---|
locationId |
string
|
The unique identifier of the location to get. |
If the location is not found.
Error
A promise that resolves with the location data.
Promise.<LocationEditor>
# async static init(mapsIndoors) → {Promise.<SolutionManager>}
Creates a new instance of SolutionManager connected to the specified MapsIndoors instance.
Parameters:
Name | Type | Description |
---|---|---|
mapsIndoors |
mapsindoors.MapsIndoors
|
An instance of the MapsIndoors SDK. |
If the MapsIndoors SDK is not loaded or if mapsIndoors is not an instance of mapsindoors.MapsIndoors.
Error
If the solution is not found.
Error
A promise that resolves to an instance of SolutionManager with the solution details and location types.
Promise.<SolutionManager>
# async static open(solutionId) → {Promise.<SolutionManager>}
Opens a solution with the specified unique identifier.
Parameters:
Name | Type | Description |
---|---|---|
solutionId |
string
|
The unique identifier of the solution to open. |
A promise that resolves with the SolutionManager.
Promise.<SolutionManager>