AbstractStaticgeofenceStaticlandmarkStaticmapStaticmapStaticmapStaticmapStaticoverlaysStaticaddAdd new listener for landmark store events.
The listener to be added
StaticcreateCreate a new landmark store. The landmark store type for all stores created with this function is LandmarkStoreType.defaultType
The name of the landmark store. The name must be unique otherwise will return GemError.exist.
Optional parameters
Optionalfolder?: stringFolder path where the landmark store will be created. If empty, the landmark store will be created in the SDK default location. Defaults to empty string.
Optionalzoom?: numberThe max zoom step at which the landmark store will be visible. If -1, a default optimal zoom level is selected. Defaults to -1.
LandmarkStore object. If a landmark store with the given name already exists, it is returned.
StaticgetGet landmark store by ID.
The ID of the landmark store
LandmarkStore object if it exists, otherwise null.
StaticgetGet landmark store by name.
The name of the landmark store
LandmarkStore object if it exists, otherwise null.
StaticgetGet the type of the landmark store
The ID of the landmark store.
The landmark store type as LandmarkStoreType. If landmarkStoreId is invalid, it returns LandmarkStoreType.none
StaticregisterRegister an already existing landmark store.
The name parameter will override the landmark store internal creation name. This allows registering landmark stores in order to import data from them
Object containing registration parameters
The landmark store name. Must be unique, otherwise GemError.exist.code is returned
The landmark store path
On success the landmark store ID (greater than zero) is returned
StaticremoveRemove the landmark store specified by ID.
The landmark store should be disposed before calling this method. Dispose the landmark store using LandmarkStore.dispose. The landmarks store will not be removed unless the object is disposed.
The method does not work if the landmark store is in use.
The landmark store ID
StaticremoveRemove listener for landmark store events.
The listener to be removed
Landmark store service
A static service providing high-level management for landmark store lifecycle and discovery. It is the central entry point for creating or registering stores, looking up existing stores, removing stores, enumerating all available stores and obtaining built-in store identifiers used by the map.
Main capabilities include store creation/registration and lookup, retrieval of special-purpose store identifiers used by the SDK, enumeration of available stores. Common tasks are creating or importing a store, resolving a store to use for imports or queries, removing an unused store, listing store and adding/removing event listeners to react to store lifecycle changes.