Home > @magiclane/maps-sdk > Resolution > fromId
Resolution.fromId() function
Convert a numeric ID to Resolution enum value.
Signature:
function fromId(id: number): Resolution;Parameters
Parameter | Type | Description |
|---|---|---|
id | number | The numeric ID |
Returns:
The corresponding Resolution
Exceptions
Error if the ID is invalid