@idmwx/idmui-gl4 0.3.9 → 0.4.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/dist/index.js CHANGED
@@ -8784,7 +8784,7 @@ const qa = {
8784
8784
  },
8785
8785
  handleBind() {
8786
8786
  var t, e;
8787
- this.toggle ? ((t = this.map) == null || t.on("click", this.handleClick), this.map.getCanvas().style.cursor = "pointer") : ((e = this.map) == null || e.off("click", this.handleClick), this.showMeteo = !1);
8787
+ this.toggle ? ((t = this.map) == null || t.on("click", this.handleClick), this.map.getCanvas().style.cursor = "pointer") : ((e = this.map) == null || e.off("click", this.handleClick), this.handleCloseMeteo());
8788
8788
  },
8789
8789
  handleRender() {
8790
8790
  this.$nextTick(() => {
@@ -8815,7 +8815,8 @@ const qa = {
8815
8815
  this.point.forecastModel = this.forecastModel, this.$emit("meteoMore", this.point);
8816
8816
  },
8817
8817
  handleCloseMeteo() {
8818
- this.showMeteo = !1;
8818
+ var t;
8819
+ this.showMeteo = !1, (t = this.meteoMarker) == null || t.remove(), this.meteoMarker = void 0;
8819
8820
  },
8820
8821
  handleFollow() {
8821
8822
  this.$emit("follow", "point", this.point);