Home > @magiclane/maps-sdk > LandmarkStore > getLandmark

LandmarkStore.getLandmark() method

Get the specified landmark.

Signature:

getLandmark(landmarkId: number): Landmark | null;

Parameters

Parameter

Type

Description

landmarkId

number

The landmark id.

Returns:

Landmark | null

The Landmark object if found, null otherwise.

Exceptions

An exception if it fails.