Home > @magiclane/maps-sdk > GeographicAreaType > fromId
GeographicAreaType.fromId() function
Get GeographicAreaType from ID
Signature:
function fromId(id: number): GeographicAreaType;Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
id |
number |
The type ID |
Returns:
Corresponding GeographicAreaType
Exceptions
Error if ID is invalid