@provoly/dashboard 1.4.47 → 1.4.49
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/store/dashboard.effects.mjs +4 -1
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +21 -2
- package/esm2022/widgets/widget-map/interaction/tooltip-manager.class.mjs +12 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +31 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +3 -0
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/package.json +37 -37
- package/widgets/widget-map/component/widget-map.component.d.ts +2 -0
- package/widgets/widget-map/interaction/tooltip-manager.class.d.ts +1 -0
|
@@ -12611,6 +12611,9 @@ class DashboardEffects {
|
|
|
12611
12611
|
});
|
|
12612
12612
|
})));
|
|
12613
12613
|
this.getWfsFeaturesForPointStack = createEffect(() => this.actions$.pipe(ofType(DashboardActions.getWfsFeaturesForPointStackTooltips), mergeMap((action) => combineLatest([of(action), this.wmsService.getWmsFeatures(action.url)])), mergeMap(([action, wmsJson]) => {
|
|
12614
|
+
if ((wmsJson.features && wmsJson.features.length === 0) || !wmsJson.features) {
|
|
12615
|
+
window.dispatchEvent(new CustomEvent('clearTooltipInterval'));
|
|
12616
|
+
}
|
|
12614
12617
|
// Search the one that is closest from the click
|
|
12615
12618
|
const closestFeature = wmsJson.features
|
|
12616
12619
|
.map((feature) => ({
|