gis-leaflet-helper 2.1.3 → 2.1.5

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.
@@ -1463,7 +1463,7 @@ var leafletSrc$1 = { exports: {} };
1463
1463
  boundingClientRect: rect
1464
1464
  };
1465
1465
  }
1466
- var DomUtil2 = {
1466
+ var DomUtil = {
1467
1467
  __proto__: null,
1468
1468
  TRANSFORM,
1469
1469
  TRANSITION,
@@ -8122,7 +8122,7 @@ var leafletSrc$1 = { exports: {} };
8122
8122
  exports3.DivIcon = DivIcon;
8123
8123
  exports3.DivOverlay = DivOverlay;
8124
8124
  exports3.DomEvent = DomEvent;
8125
- exports3.DomUtil = DomUtil2;
8125
+ exports3.DomUtil = DomUtil;
8126
8126
  exports3.Draggable = Draggable;
8127
8127
  exports3.Evented = Evented;
8128
8128
  exports3.FeatureGroup = FeatureGroup;
@@ -10482,7 +10482,7 @@ var color = Color;
10482
10482
  var Color$1 = color;
10483
10483
  function setPos(el, point, scale) {
10484
10484
  el._leaflet_pos = point;
10485
- DomUtil.setTransform(el, point, scale);
10485
+ leafletSrc$1.exports.DomUtil.setTransform(el, point, scale);
10486
10486
  }
10487
10487
  leafletSrc$1.exports.Map.addInitHook("addHandler", "drawHandler", Draw);
10488
10488
  leafletSrc$1.exports.Map.addInitHook(function() {
@@ -10582,11 +10582,11 @@ leafletSrc$1.exports.Marker.include({
10582
10582
  },
10583
10583
  _applyRotation() {
10584
10584
  if (this.options.rotationAngle) {
10585
- this._icon.style[DomUtil.TRANSFORM + "Origin"] = this.options.rotationOrigin;
10586
- if (DomUtil.TRANSFORM === "msTransform") {
10587
- this._icon.style[DomUtil.TRANSFORM] = "rotate(" + this.options.rotationAngle + "deg)";
10585
+ this._icon.style[leafletSrc$1.exports.DomUtil.TRANSFORM + "Origin"] = this.options.rotationOrigin;
10586
+ if (leafletSrc$1.exports.DomUtil.TRANSFORM === "msTransform") {
10587
+ this._icon.style[leafletSrc$1.exports.DomUtil.TRANSFORM] = "rotate(" + this.options.rotationAngle + "deg)";
10588
10588
  } else {
10589
- this._icon.style[DomUtil.TRANSFORM] += " rotateZ(" + this.options.rotationAngle + "deg)";
10589
+ this._icon.style[leafletSrc$1.exports.DomUtil.TRANSFORM] += " rotateZ(" + this.options.rotationAngle + "deg)";
10590
10590
  }
10591
10591
  }
10592
10592
  },
@@ -10666,7 +10666,7 @@ leafletSrc$1.exports.LayerGroup.include({
10666
10666
  leafletSrc$1.exports.GridLayer.include({
10667
10667
  _setZoomTransform: function(t, e, s) {
10668
10668
  var o = e, e = (null != o && this.options && ("gcj02" == this.options.corrdType ? o = CoordsUtils.gcjEncrypt(e.lat, e.lng) : "bd09" == this.options.corrdType && (e = CoordsUtils.gcjEncrypt(e.lat, e.lng), o = CoordsUtils.bdEncrypt(e.lat, e.lng))), this._map.getZoomScale(s, t.zoom)), o = t.origin.multiplyBy(e).subtract(this._map._getNewPixelOrigin(o, s)).round();
10669
- leafletSrc$1.exports.Browser.any3d ? DomUtil.setTransform(t.el, o, e) : DomUtil.setPosition(t.el, o);
10669
+ leafletSrc$1.exports.Browser.any3d ? leafletSrc$1.exports.DomUtil.setTransform(t.el, o, e) : leafletSrc$1.exports.DomUtil.setPosition(t.el, o);
10670
10670
  },
10671
10671
  _getTiledPixelBounds: function(t) {
10672
10672
  var e = t, t = (null != e && this.options && ("gcj02" == this.options.corrdType ? e = CoordsUtils.gcjEncrypt(t.lat, t.lng) : "bd09" == this.options.corrdType && (t = CoordsUtils.gcjEncrypt(t.lat, t.lng), e = CoordsUtils.bdEncrypt(t.lat, t.lng))), this._map), s = t._animatingZoom ? Math.max(t._animateToZoom, t.getZoom()) : t.getZoom(), s = t.getZoomScale(s, this._tileZoom), e = t.project(e, this._tileZoom).floor(), t = t.getSize().divideBy(2 * s);