Home > @magiclane/maps-sdk > MapViewPathCollection > getPathByName
MapViewPathCollection.getPathByName() method
Get the path specified by name.
Signature:
getPathByName(name: string): Path | null;Parameters
Parameter | Type | Description |
|---|---|---|
name | string | The path name |
Returns:
Path | null
The path or null if not found