@idmwx/idmui-gl4 1.2.9 → 1.3.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
@@ -10680,6 +10680,11 @@ const tc = {
10680
10680
  handler(t, e) {
10681
10681
  t !== e && this.handleRefresh();
10682
10682
  }
10683
+ },
10684
+ realTime: {
10685
+ handler(t) {
10686
+ this.map && t && this.handleRender();
10687
+ }
10683
10688
  }
10684
10689
  },
10685
10690
  mounted() {
@@ -11060,6 +11065,8 @@ const tc = {
11060
11065
  },
11061
11066
  handleDrawCircle() {
11062
11067
  var t, e;
11068
+ if (!this.map)
11069
+ return !1;
11063
11070
  (t = this.map) != null && t.getSource(this.circleSource) ? (e = this.map) == null || e.getSource(this.circleSource).setData(this.circleSourceData) : (this.map.addSource(this.circleSource, {
11064
11071
  type: "geojson",
11065
11072
  data: this.circleSourceData