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

graphToLatlng

graphToLatlng(coords): object

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

Given graph coords returns its lat/lng coords.

Parameters

coords

x

number

y

number

Returns

object

lat

lat: number

lng

lng: number