Skip to content
This is the alpha v4 version website. Looking for the v3 documentation?

graphToLatlng

graphToLatlng(coords): object

Defined in: packages/layer-leaflet/src/utils.ts:17

Given graph coords in [0,1] Mercator space returns lat/lng.

Parameters

coords

x

number

y

number

Returns

object

lat

lat: number

lng

lng: number