Skip to content

lonLatFromScreen

lonLatFromScreen(projection, t, screenX, screenY): [number, number] | null

Defined in: geo/inverse.ts:27

Screen pixel -> lon/lat: undo the zoom transform, then the projection. Returns null if the projection cannot invert the point (e.g. outside the globe).

GeoProjection

ViewTransform

number

number

[number, number] | null