Skip to main content

Function: graphToLatlng()

graphToLatlng(map, coords): object

Given a graph coords returns its lat/lng coords.

Parameters

map: Map$1

coords

coords.x: number

coords.y: number

Returns

object

lat

lat: number

lng

lng: number

Defined in

layer-maplibre/src/utils.ts:22