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

default

default(sigma, opts?): object

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

On the graph, we store the 2D projection of the geographical lat/long.

Parameters

sigma

Sigma

The sigma instance

opts?

getNodeLatLng?

(nodeAttributes) => object

Function to retrieve lat/long values from a node’s attributs (default is lat & lng)

mapOptions?

Omit<MapOptions, "container" | "center" | "zoom" | "bounds" | "minPitch" | "maxPitch" | "interactive">

Options that will be provided to map constructor.

Returns

object

clean

clean: () => void

Returns

void

map

map: Map$1

updateGraphCoordinates

updateGraphCoordinates: (graph) => void

Parameters

graph

Graph

Returns

void