Skip to main content

Connection

Connection layer provides connections between nodes (e.g. relations between countries). It serves as an additional function to other layers, especially to choropleth layer. If you click on polygon in choropleth map, while using connection layer, all of the connections and connected countries will be highlighted. Example below contains data about Trade in services for countries that are members of OECD1.

Example​

Loading...

Installation​

npm i geovisto-layer-connection

Configuration​

Configuration used in example above:

{
"type": "geovisto-tool-layer-connection",
"id": "geovisto-tool-layer-connection",
"enabled": true,
"layerName": "Connection layer",
"data": {
"geoData": "world centroids",
"from": "Country",
"to": "Partner",
"animateDirection": true
}
}

Dimensions​

Dimensions used in Connection Layer:

  • geoData - polygons/centroids
  • from - source country
  • to - destination country
  • animateDirection - animate connections

1 OECD