Function: default()
default(
sigma
,opts
?):object
Defined in: layer-maplibre/src/index.ts:15
On the graph, we store the 2D projection of the geographical lat/long.
Parameters
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
, "center"
| "container"
| "zoom"
| "minPitch"
| "maxPitch"
>
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