@provoly/dashboard 0.23.12 → 0.24.0
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/core/model/widget-map-manifest.interface.mjs +1 -1
- package/esm2022/lib/dashboard/store/dashboard.actions.mjs +3 -1
- package/esm2022/lib/dashboard/store/dashboard.effects.mjs +28 -1
- package/esm2022/lib/dashboard/store/wms.service.mjs +29 -1
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +14 -6
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +13 -5
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +57 -0
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/lib/core/model/widget-map-manifest.interface.d.ts +1 -0
- package/lib/dashboard/store/dashboard.actions.d.ts +20 -0
- package/lib/dashboard/store/dashboard.effects.d.ts +3 -0
- package/lib/dashboard/store/wms.service.d.ts +3 -0
- package/package.json +31 -31
|
@@ -2170,16 +2170,24 @@ class WidgetMapComponent extends DataWidgetComponent {
|
|
|
2170
2170
|
FEATURE_COUNT: 10,
|
|
2171
2171
|
...layer.getProperties()['getFeatureInfoAdditionalParameters']
|
|
2172
2172
|
});
|
|
2173
|
-
if (
|
|
2174
|
-
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
this.store.dispatch(DashboardActions.getWmsFeatures({
|
|
2173
|
+
if (this.optionsCopy.layers?.find((l) => {
|
|
2174
|
+
return l.title === layer.getProperties()['title'];
|
|
2175
|
+
})?.getWfsFeaturesForTooltips) {
|
|
2176
|
+
this.store.dispatch(DashboardActions.getWfsFeaturesForPointStackTooltips({
|
|
2178
2177
|
url,
|
|
2179
2178
|
oClass: layer.getProperties()['oClass'] ?? '',
|
|
2180
2179
|
coordinates: pixel
|
|
2181
2180
|
}));
|
|
2182
2181
|
}
|
|
2182
|
+
else {
|
|
2183
|
+
if (url && url.indexOf('I=-1') === -1 && url.indexOf('J=-1') === -1) {
|
|
2184
|
+
this.store.dispatch(DashboardActions.getWmsFeatures({
|
|
2185
|
+
url,
|
|
2186
|
+
oClass: layer.getProperties()['oClass'] ?? '',
|
|
2187
|
+
coordinates: pixel
|
|
2188
|
+
}));
|
|
2189
|
+
}
|
|
2190
|
+
}
|
|
2183
2191
|
}
|
|
2184
2192
|
}
|
|
2185
2193
|
changeWmsClass($event, layer) {
|