Home > @magiclane/maps-sdk > LandmarkStoreCollection > getStoreIdAt

LandmarkStoreCollection.getStoreIdAt() method

Get the store ID for the specified index.

Signature:

getStoreIdAt(index: number): number;

Parameters

Parameter

Type

Description

index

number

The index should be less than the value provided by [size].

Returns:

number

* On success, returns the store ID greater than 0 * [GemError.outOfRange].code if index is invalid

Exceptions

An exception if it fails.