Home > @magiclane/maps-sdk > AddressField > fromString
AddressField.fromString() function
Gets AddressField from string name
Signature:
function fromString(str: string): AddressField;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
str |
string |
The string name to convert |
Returns:
The corresponding AddressField
Exceptions
Error if the string is invalid