Home > @magiclane/maps-sdk > MapViewPathCollection > getPathAt
MapViewPathCollection.getPathAt() method
Get the path specified by index.
Signature:
getPathAt(index: number): Path | null;Parameters
Parameter | Type | Description |
|---|---|---|
index | number | The path index |
Returns:
Path | null
The path or null if index is invalid