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.
2 parents 8e081c1 + 0f2242f commit e092bc0Copy full SHA for e092bc0
api/v2beta1/wms_conversion.go
@@ -305,7 +305,13 @@ func (v2Service WMSService) MapLayersToV3() pdoknlv3.Layer {
305
Keywords: v2Service.Keywords,
306
Layers: &[]pdoknlv3.Layer{},
307
}
308
- middleLayers = notGroupedLayers
+
309
+ // adding the bottom layers to the middle layers they are grouped by
310
+ for _, layer := range notGroupedLayers {
311
+ bottomLayers := groupedLayers[*layer.Name]
312
+ layer.Layers = &bottomLayers
313
+ middleLayers = append(middleLayers, layer)
314
+ }
315
316
317
// if the topLayer is defined in the v2 layers
0 commit comments