Home > @magiclane/maps-sdk > AddressField > fromId
AddressField.fromId() function
Gets AddressField from its id value
Signature:
function fromId(id: number): AddressField;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
number |
The id to convert |
Returns:
The corresponding AddressField
Exceptions
Error if the id is invalid