Private
constructorStatic
addStatic
applyApplies a list of MPUserRoles to the SDK which will get the UserRole specific locations..
Static
checkChecks if there is on device data (embedded/locally stored) available. For this to return true, data has to be available for all solution data types (MPLocation, MPBuilding...).
Returns true if data is available, otherwise returns false.
Static
destroyClears the internal state of MapsIndoors SDK. Any loaded content is purged from memory.
Invoke load to start the SDK anew.
Static
disabledisable SDK event logging through MapsIndoors. No logs will be created or send with this disabled.
By default it is enabled. But disabled in the CMS meaning logs will be created but never uploaded.
Static
getRetrieves the API key that was set when calling load.
Will return empty string if no key has been set.
Static
getReturns the list of MPUserRoles that is currently applied.
Static
getStatic
getGets a collection of all building for the current solution.
Static
getGets a collection of all categories for the current solution.
Static
getRetrieve the default display rule (fallback rule in case the main rule has not loaded/ has errors).
Static
getStatic
getStatic
getRetrieve the display rule for the given location.
Requires that load has successfully executed.
Static
getRetrieve the display rule with a given [@link name}.
Requires that load has successfully executed.
The ID of the DisplayRule
Static
getStatic
getRetrieves a MPLocation by its id.
Static
getGets all locations (a list of MPLocation objects) for the current solution.
Static
getRun a query on all available locations with a query and filter.
Static
getRetrieves a list of MPLocations by externalIds.
Static
getRetrieve the main display rule (can be configured in the CMS).
Requires that load has successfully executed.
Static
getGets a collection of available map styles.
Static
getGets the MPSolution for the current loaded api key.
Static
getRetrieve the corresponding display rule for the given MPSolutionDisplayRule.
Requires that load has successfully executed.
Static
getStatic
getGets the User Roles for the current solution.
Note that role names are localized.
Static
getGets a collection of all venues for the current solution.
Static
isStatic
isCheck if load has been called.
Static
isStatic
loadLoads content from the MapsIndoors solution matching the given API apiKey.
The key to the MapsIndoors solution.
Optional
venues: String[] = nullAn optional list of venueIds as strings.
If the load fails for any reason, it will reject with a MPError.
Static
removeStatic
setSets the SDK's internal language.
By default, the SDK language can be:
Static
setSet a new position provider, or pass undefined to remove the current one.
Optional
positonProvider: MPPositionProviderInterfaceStatic
synchronizeGenerated using TypeDoc
Main class for accessing data in the MapsIndoors SDK.
Export