Default Background Layer
With a default background layer, you provide a map background if no map view from the map catalog is available to a user.
Cadenza uses the following fallback order:
-
Use the configured default map view from the map catalog.
-
Use the first available map view from the map catalog.
-
Use the configured default background layer from datasources Configuration to create a map view with the coordinate system EPSG:3857 (Pseudo-Mercator).
For example, Cadenza applies this fallback order when users create a new map view or use a spatial filter.
Map views from the map catalog always take precedence over a map view created with the default background layer.
Requirements
-
The data source for the default background layer must be configured as a cross-repository data source.
-
OGC raster layers (WMS and WMTS) and vector tile layers are supported.
-
If the WMS or WMTS service requires authentication, Cadenza supports Basic Authentication. Preemptive authentication is not supported.
-
For vector tile layers, the data source URL must point to a JSON style document that conforms to the Mapbox Style Specification. Authentication is not supported.
-
The layer must support the EPSG:3857 (Pseudo-Mercator) coordinate system.
-
Only one default background layer can be configured system-wide.
Configuring a default background layer
Edit the defaultBackgroundLayer settings within a suitable cross-repository data source.
See datasources Configuration.
Specify at least the layer ID.
Notes
-
Configure the default background layer only as a fallback.
-
If the default background layer is changed for the application, Cadenza automatically replaces the previously used default background layer with the current one in workbooks that use a default background layer. This also applies when workbooks or repositories are exported and subsequently imported. Please note: Layer information, such as a description or copyright text, will be lost for existing workbooks when another background layer than originally used is configured.