StaticaddAdd venues to the sync list.
list of venueIds to add to sync.
StaticapplyApplies a list of MPUserRoles to the SDK which will get the UserRole specific locations..
StaticcacheCache all data for the current solution. Including tiles and images if present on the solution.
The key to the MapsIndoors solution.
Promise
StaticcheckChecks 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.
StaticdestroyClears the internal state of MapsIndoors SDK. Any loaded content is purged from memory.
Invoke load to start the SDK anew.
Staticdisabledisable 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.
StaticgetRetrieves the API key that was set when calling load.
Will return empty string if no key has been set.
StaticgetStaticgetStaticgetGets a collection of all building for the current solution.
StaticgetGets a collection of all categories for the current solution.
StaticgetRetrieve the default display rule (fallback rule in case the main rule has not loaded/ has errors).
StaticgetStaticgetStaticgetStaticgetRetrieve the display rule with a given [@link name}.
Requires that load has successfully executed.
The ID of the DisplayRule
StaticgetStaticgetStaticgetGets all locations (a list of MPLocation objects) for the current solution.
StaticgetRun a query on all available locations with a query and filter.
StaticgetRetrieves a list of MPLocations by externalIds.
StaticgetRetrieve the main display rule (can be configured in the CMS).
Requires that load has successfully executed.
StaticgetStaticgetStaticgetRetrieve the corresponding display rule for the given MPSolutionDisplayRule.
Requires that load has successfully executed.
StaticgetGet a list of venueIds that are synced.
Promise<string[]> A list of venueIds that are synced.
StaticgetGets the User Roles for the current solution.
Note that role names are localized.
StaticgetGets a collection of all venues for the current solution.
StaticisStaticisStaticisStaticloadStaticremoveRemove venues from the sync list.
List of venueIds to remove from sync.
StaticsetSets the SDK's internal language.
By default, the SDK language can be:
StaticsetSet a new position provider, or pass undefined to remove the current one.
OptionalpositonProvider: MPPositionProviderInterfaceStaticsynchronize
Main class for accessing data in the MapsIndoors SDK.
Export
MapsIndoors