@provoly/dashboard 0.22.9 → 0.22.10
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/components/widgets/widget-instanciator/widget-factory.service.mjs +6 -5
- package/esm2022/widgets/widget-map/component/widget-map.component.mjs +2 -2
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs +1 -1
- package/fesm2022/provoly-dashboard-widgets-widget-map.mjs.map +1 -1
- package/fesm2022/provoly-dashboard.mjs +5 -4
- package/fesm2022/provoly-dashboard.mjs.map +1 -1
- package/package.json +7 -7
|
@@ -1667,6 +1667,7 @@ class WidgetMapComponent extends DataWidgetComponent {
|
|
|
1667
1667
|
resultLayer.set('type', layer.type);
|
|
1668
1668
|
resultLayer.set('slide', layer.slide);
|
|
1669
1669
|
resultLayer.set('order', layer.order);
|
|
1670
|
+
resultLayer.setZIndex(layer.order || idx);
|
|
1670
1671
|
if (layer.type === 'relation') {
|
|
1671
1672
|
hasRelationLayer = resultLayer;
|
|
1672
1673
|
}
|
|
@@ -1714,7 +1715,6 @@ class WidgetMapComponent extends DataWidgetComponent {
|
|
|
1714
1715
|
}
|
|
1715
1716
|
/* Resolve bug drawing webgllayer without nothing underneath: add empty layer below */
|
|
1716
1717
|
const _layers = this.addEmptyWebGlLayerBelowSlideHeatmaps(layers);
|
|
1717
|
-
_layers.forEach((layer, index, arr) => layer.set('zIndex', arr.length - index));
|
|
1718
1718
|
this.previousLayers.push(..._layers);
|
|
1719
1719
|
return _layers;
|
|
1720
1720
|
}));
|