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/centroidsfrom
- source countryto
- destination countryanimateDirection
- animate connections