@jorgmoritz/gis-manager 0.1.52 → 0.1.53

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/dist/index.cjs CHANGED
@@ -13,7 +13,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
13
13
  // package.json
14
14
  var package_default = {
15
15
  name: "@jorgmoritz/gis-manager",
16
- version: "0.1.52"};
16
+ version: "0.1.53"};
17
17
 
18
18
  // src/utils/version.ts
19
19
  var version = package_default.version;
@@ -3315,8 +3315,14 @@ var CameraFOVController = class {
3315
3315
  if (this.sliderEl) {
3316
3316
  this.sliderEl.removeEventListener("input", this.handleSliderChange);
3317
3317
  }
3318
- if (this.containerEl && !this.opts.container) {
3319
- this.containerEl.remove();
3318
+ if (this.containerEl) {
3319
+ if (!this.opts.container) {
3320
+ this.containerEl.remove();
3321
+ } else {
3322
+ while (this.containerEl.firstChild) {
3323
+ this.containerEl.removeChild(this.containerEl.firstChild);
3324
+ }
3325
+ }
3320
3326
  }
3321
3327
  this.onFOVChange.clear();
3322
3328
  }