Home > @magiclane/maps-sdk > LandmarkStoreService > removeLandmarkStore
LandmarkStoreService.removeLandmarkStore() method
Remove 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.
Signature:
static removeLandmarkStore(landmarkStoreId: number): void;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
landmarkStoreId |
number |
The landmark store ID |
Returns:
void
Exceptions
An exception if it fails.