@acorex/components 19.14.0 → 19.14.1

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.
@@ -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