Home > @magiclane/maps-sdk > Resolution > toId

Resolution.toId() function

Convert Resolution to its numeric ID.

Signature:

function toId(resolution: Resolution): number;

Parameters

Parameter

Type

Description

resolution

Resolution

The Resolution value

Returns:

number

The corresponding numeric ID