Skip to main content

Function: graphToLatlng()

graphToLatlng(map, coords): object

Given a graph coords returns its lat/lng coords.

Parameters

map: Map

coords

coords.x: number

coords.y: number

Returns

object

lat

lat: number

lng

lng: number

Defined in

layer-leaflet/src/utils.ts:30