Home > @magiclane/maps-sdk > MarkerCollection > getMarkerAt
MarkerCollection.getMarkerAt() method
Get the marker at the given index.
Return null if index is not valid.
Signature:
getMarkerAt(index: number): Marker | null;Parameters
Parameter | Type | Description |
|---|---|---|
index | number | The marker index |
Returns:
Marker | null
Marker object. If the index is not valid then null is returned