@acorex/components 19.14.0 → 19.15.0-next.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/fesm2022/acorex-components-map.mjs +7 -0
- package/fesm2022/acorex-components-map.mjs.map +1 -1
- package/fesm2022/acorex-components-time-duration.mjs +17 -6
- package/fesm2022/acorex-components-time-duration.mjs.map +1 -1
- package/package.json +1 -1
- package/time-duration/lib/time-duration.component.d.ts +1 -0
@@ -804,6 +804,12 @@ class AXMapComponent {
|
|
804
804
|
this.leafletService.setZoomLevel(this.zoomLevel());
|
805
805
|
}
|
806
806
|
});
|
807
|
+
this.#limitDrawEffect = effect(() => {
|
808
|
+
if (this.rendered() && this.limitDraw()) {
|
809
|
+
this.leafletService.removeBoundary();
|
810
|
+
this.leafletService.setBoundary(this.limitDraw());
|
811
|
+
}
|
812
|
+
});
|
807
813
|
this.#centerEffect = effect(() => {
|
808
814
|
if (this.rendered()) {
|
809
815
|
if (this.fitToDraw() === false) {
|
@@ -912,6 +918,7 @@ class AXMapComponent {
|
|
912
918
|
}
|
913
919
|
}
|
914
920
|
#zoomEffect;
|
921
|
+
#limitDrawEffect;
|
915
922
|
#centerEffect;
|
916
923
|
/**
|
917
924
|
* @description
|