The fractional, unclamped zoom that renders scale denominator scale at lat — the pure
inverse of scaleAtZoom. Callers add their own guards and clamping: scaleToZoom
wraps it with MapLibre's [0 ; 24] clamp and null guards; the scale control seeds its damped
solver with it and clamps to [0 ; 22].
Parameters
scale: number
Scale denominator (the X in 1:X). Must be finite and > 0.
lat: number
Latitude in degrees.
Returns number
The raw zoom (may be fractional, negative, or beyond MapLibre's range).
The fractional, unclamped zoom that renders scale denominator
scaleatlat— the pure inverse of scaleAtZoom. Callers add their own guards and clamping: scaleToZoom wraps it with MapLibre's [0 ; 24] clamp and null guards; the scale control seeds its damped solver with it and clamps to [0 ; 22].