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.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- geofenceLandmarkStoreId → int
-
Get LandmarkStore id attached to geofence database.
no setter
-
landmarkStores
→ List<
LandmarkStore> -
Get all landmark stores.
no setter
- mapAddressLandmarkStoreId → int
-
Get Map Address landmarkstore id attached to map address database information.
no setter
- mapCitiesLandmarkStoreId → int
-
Get Map Cities landmarkstore id attached to map address database information.
no setter
- mapPoisLandmarkStoreId → int
-
Get Map POIs landmarkstore id.
no setter
- mapRoadsLandmarkStoreId → int
-
Get LandmarkStore id attached to map roads database information.
no setter
- overlaysLandmarkStoreId → int
-
Get LandmarkStore id attached to overlays database.
no setter
Static Methods
-
addListener(
LandmarkStoreListener listener) → void - Add new listener for landmark store events.
-
createLandmarkStore(
String name, {int zoom = -1, String folder = ''}) → LandmarkStore - Create a new landmark store. The landmark store type for all stores created with this function is LandmarkStoreType.defaultType
-
getLandmarkStoreById(
int landmarkStoreId) → LandmarkStore? - Get landmark store by ID.
-
getLandmarkStoreByName(
String name) → LandmarkStore? - Get landmark store by name.
-
getLandmarkStoreType(
int landmarkStoreId) → LandmarkStoreType - Get the type of the landmark store
-
registerLandmarkStore(
{required String name, required String path}) → int - Register an already existing landmark store.
-
removeLandmarkStore(
int landmarkStoreId) → void - Remove the landmark store specified by ID.
-
removeListener(
LandmarkStoreListener listener) → void - Remove listener for landmark store events.