Dynamic Layer - Configuration
The Dynamic Layer plugin enables users to dynamically add layers to a map without editing the configuration. This guide provides detailed information about available configuration options for both dynamic web data sources and catalogue integrations.
The plugin configuration consists of several main sections that control the available tabs, default settings, and preset configurations:
General Settings
Option | Description | Default | Allowed Values |
---|---|---|---|
Enabled tabs |
Enabled tabs in the plugin interface |
['webdata', 'catalogues'] |
webdata, catalogues |
Default tab |
The default tab opened when the plugin is launched |
'webdata' |
webdata, catalogues |
Tab Configuration
|
Web Data
The web data section configures default settings for adding dynamic web data sources to the map.
Option | Description | Default | Allowed Values |
---|---|---|---|
Default type |
The preselected web data source type |
Web Map Service (WMS) |
|
Default URL |
Pre-filled URL for adding source web data |
' ' |
Any valid URL |
Web Data Sources
When configuring web data defaults:
|
Supported Web Data Types
The plugin supports the following web data source types:
Type | Description | Standard Reference |
---|---|---|
Cesium 3D Tiles |
3D Tiles for displaying 3D content |
|
Cesium Pointcloud |
Cesium point cloud data (3D Tiles) |
|
Cesium Terrain |
Cesium terrain tiles |
|
CZML |
CZML time-dynamic data |
|
GeoJSON |
Vector data in GeoJSON format |
|
Web Feature Service (WFS) |
Web Feature Service |
|
Web Map Service (WMS) |
Web Map Service |
|
Web Map Tile Service (WMTS) |
Web Map Tile Service |
Catalogues
The catalogues section configures integration with external data catalogues that users can browse and search for datasets.
Option | Description | Default | Allowed Values |
---|---|---|---|
Items per page |
Number of datasets displayed per page |
14 |
Any positive integer |
Presets catalogues |
Predefined catalogue configurations |
[] |
Catalogue Integration
When configuring catalogue presets:
|
Presets catalogues
Catalogue presets define external data catalogues that users can access through the plugin interface.
Option | Description | Required | Allowed Values |
---|---|---|---|
Title |
Display name for the catalogue |
No |
Any string |
URL |
URL of the catalogue service |
Yes |
Valid catalogue API endpoint |
Type |
Type of catalogue system |
Yes |
geonetwork, idra, nbsRegistry, piveau, |
Subtitle |
Short description displayed in catalogue overview |
No |
Any string |
Logo |
Base64 encoded image for catalogue branding |
No |
Base64 image string |
Description |
Detailed description rendered as Markdown |
No |
Markdown formatted text |
The current implementation supports public catalogues only. Authentication mechanisms for protected catalogues are not supported in this version. |
Performance Considerations
|
Supported Catalogue Types
The plugin supports integration with four types of data catalogue systems:
Type | Description | Reference |
---|---|---|
Piveau |
European Data Portal compatible catalogue |
|
GeoNetwork |
Open source metadata catalogue |
|
Idra |
Open Data Federation platform |
|
NBS Registry |
UrBreath’s Nature-Based Solutions catalogue |
Configuration Examples
Basic Configuration
{
"name": "@vcmap/dynamic-layer",
"defaultTab": "webdata",
"enabledTabs": ["webdata"],
"webdata": {
"defaultType": "WMSLayer",
"defaultUrl": ""
},
"catalogues": {
"itemsPerPage": 14,
"presets": []
}
}
Advanced Configuration with Catalogues
{
"name": "@vcmap/dynamic-layer",
"defaultTab": "catalogues",
"enabledTabs": ["webdata", "catalogues"],
"webdata": {
"defaultType": "WMSLayer",
"defaultUrl": "https://sgx.geodatenzentrum.de/wms_topplus_open"
},
"catalogues": {
"itemsPerPage": 20,
"presets": [
{
"url": "https://data.europa.eu/api/hub/search/",
"type": "piveau",
"title": "Data Europa",
"subtitle": "The official portal for European data",
"description": "# European Data Portal\n\nAccess to open data from EU institutions and member states."
},
{
"url": "https://gdk.gdi-de.org/gdi-de/srv/eng/",
"type": "geonetwork",
"title": "Geodaten Katalog",
"subtitle": "German geodata catalogue",
"description": "German spatial data infrastructure catalogue containing metadata about geodata and geoservices."
},
{
"url": "https://idra.example.com/api/v1/client/",
"type": "idra",
"title": "Open Data Federation",
"subtitle": "Federated open data platform",
"description": "Federated catalogue providing access to multiple data sources through a unified interface."
}
]
}
}