@provoly/dashboard 0.14.4 → 0.14.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/dashboard/action-bus/service/bus.service.mjs +1 -1
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +5 -7
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +4 -6
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -1090,13 +1090,11 @@ class WidgetMapComponent extends DataWidgetComponent {
|
|
|
1090
1090
|
.map((layer) => layer);
|
|
1091
1091
|
}));
|
|
1092
1092
|
this.wmsCapabilities$ = combineLatest([
|
|
1093
|
-
this.manifest$.pipe(map((manifest) => (manifest.options ?? { layers: [] }).layers?.filter((layer) => ['wms'
|
|
1093
|
+
this.manifest$.pipe(map((manifest) => (manifest.options ?? { layers: [] }).layers?.filter((layer) => ['wms'].includes(layer.type)))),
|
|
1094
1094
|
this.geoServerLayerDescriptions$
|
|
1095
|
-
]).pipe(map(([wmsLayers, geoServerLayerDescriptions]) =>
|
|
1096
|
-
...
|
|
1097
|
-
|
|
1098
|
-
...geoServerLayerDescriptions.find((layerDescr) => layerDescr.key === layer.key)
|
|
1099
|
-
}))), distinctUntilChanged((p, c) => equal(p, c)), switchMap((wmsLayers) => combineLatest(wmsLayers.map((layer) => wmsService.getCapabilities(layer)))), startWith([]));
|
|
1095
|
+
]).pipe(map(([wmsLayers, geoServerLayerDescriptions]) => {
|
|
1096
|
+
return [...wmsLayers, ...geoServerLayerDescriptions];
|
|
1097
|
+
}), distinctUntilChanged((p, c) => equal(p, c)), switchMap((wmsLayers) => combineLatest(wmsLayers.map((layer) => wmsService.getCapabilities(layer)))), startWith([]));
|
|
1100
1098
|
this.options$ = combineLatest([
|
|
1101
1099
|
this.manifest$,
|
|
1102
1100
|
this.resultSet$,
|