We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4eb08 commit 5d90d0fCopy full SHA for 5d90d0f
api/v2beta1/wms_conversion.go
@@ -306,7 +306,13 @@ func (v2Service WMSService) MapLayersToV3() pdoknlv3.Layer {
306
Keywords: v2Service.Keywords,
307
Layers: &[]pdoknlv3.Layer{},
308
}
309
- middleLayers = notGroupedLayers
+
310
+ // adding the bottom layers to the middle layers they are grouped by
311
+ for _, layer := range notGroupedLayers {
312
+ bottomLayers := groupedLayers[*layer.Name]
313
+ layer.Layers = &bottomLayers
314
+ middleLayers = append(middleLayers, layer)
315
+ }
316
317
318
// if the topLayer is defined in the v2 layers
0 commit comments