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

LandmarkStore.updateLandmark() method

Update the information about a landmark.

This updates only the information about a landmark and does not modify the categories the landmark belongs to. The landmark instance passed in as the parameter must be an instance that belongs to this landmark store. Calling this method updates the timestamp of the landmark.

Signature:

updateLandmark(landmark: Landmark): void;

Parameters

Parameter

Type

Description

landmark

Landmark

The landmark to be updated.

Returns:

void

Exceptions

An exception if it fails.