Home > @magiclane/maps-sdk > RouteBookmarks > find
RouteBookmarks.find() method
Find a bookmarked route by its name.
Signature:
find(name: string): number;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
name |
string |
The unique name of the route to find. |
Returns:
number
Non-negative index of the found route on success, or error code when not found or on internal errors.