Open swerder opened 3 months ago
The geoAdmin informations have wmts, wms and aggregate layer types. This change allow to use all of them.
It also fixes issues with base layer change if an additional layer is added.
To prevent unneeded tile downloads the layers are set to visible = false if "hide" is clicked or opacity = 0
It also add the layer specific attribution defined by the api. The make sure this informations (and also the layer info popup) are sanitized.
The attribution for the layers are not visible with this change. But adding the OpenLayers element for that is part of: https://github.com/zskarte/zskarte-client/pull/404
The geoAdmin informations have wmts, wms and aggregate layer types. This change allow to use all of them.
It also fixes issues with base layer change if an additional layer is added.
To prevent unneeded tile downloads the layers are set to visible = false if "hide" is clicked or opacity = 0
It also add the layer specific attribution defined by the api. The make sure this informations (and also the layer info popup) are sanitized.
The attribution for the layers are not visible with this change. But adding the OpenLayers element for that is part of: https://github.com/zskarte/zskarte-client/pull/404