Home > @magiclane/maps-sdk > LandmarkStore > containsLandmark
LandmarkStore.containsLandmark() method
Checks if the landmark store contains the landmark ID
Signature:
containsLandmark(landmarkId: number): boolean;Parameters
Parameter | Type | Description |
|---|---|---|
landmarkId | number | The id of the landmark looked for |
Returns:
boolean
True if the landmark is in the landmark store, false otherwise.
Exceptions
An exception if it fails.