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
Section titled “Parameters”The sigma instance
getNodeLatLng?
Section titled “getNodeLatLng?”(nodeAttributes) => object
Function to retrieve lat/long values from a node’s attributs (default is lat & lng)
mapOptions?
Section titled “mapOptions?”Omit<MapOptions, "container" | "center" | "zoom" | "bounds" | "minPitch" | "maxPitch" | "interactive">
Options that will be provided to map constructor.
Returns
Section titled “Returns”object
clean: () =>
void
Returns
Section titled “Returns”void
map:
Map$1
updateGraphCoordinates
Section titled “updateGraphCoordinates”updateGraphCoordinates: (
graph) =>void
Parameters
Section titled “Parameters”Graph
Returns
Section titled “Returns”void