Home > @magiclane/maps-sdk > Landmark > findExtraInfo
Landmark.findExtraInfo() method
Finds the first extra info entry that begins with the specified string.
The returned string will have leading non-alphanumeric characters trimmed.
Signature:
findExtraInfo(startStr: string): string | null;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
startStr |
string |
Prefix string to search for. |
Returns:
string | null
The first matching extra info entry with leading non-alphanumeric characters removed, or null when no match is found.