@besovideo/bvmap-leaflet 0.0.39 → 0.0.41
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/main.js +142 -136
- package/dist/main.js.map +1 -1
- package/dist/types/basemap/config.d.ts +6 -0
- package/dist/types/basemap/index.d.ts +3 -0
- package/package.json +46 -46
package/dist/main.js
CHANGED
|
@@ -9,7 +9,7 @@ var xa = (e, i, n) => i in e ? nh(e, i, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var n of Ui(i))
|
|
10
10
|
ba.call(i, n) && xa(e, n, i[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, se = (e, i) => sh(e, ah(i));
|
|
13
13
|
var Pa = (e, i) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var r in e)
|
|
@@ -773,12 +773,12 @@ function on() {
|
|
|
773
773
|
// @method distanceTo(otherLatLng: LatLng): Number
|
|
774
774
|
// Returns the distance (in meters) to the given `LatLng` calculated using the [Spherical Law of Cosines](https://en.wikipedia.org/wiki/Spherical_law_of_cosines).
|
|
775
775
|
distanceTo: function(t) {
|
|
776
|
-
return
|
|
776
|
+
return ee.distance(this, $(t));
|
|
777
777
|
},
|
|
778
778
|
// @method wrap(): LatLng
|
|
779
779
|
// Returns a new `LatLng` object with the longitude wrapped so it's always between -180 and +180 degrees.
|
|
780
780
|
wrap: function() {
|
|
781
|
-
return
|
|
781
|
+
return ee.wrapLatLng(this);
|
|
782
782
|
},
|
|
783
783
|
// @method toBounds(sizeInMeters: Number): LatLngBounds
|
|
784
784
|
// Returns a new `LatLngBounds` object in which each boundary is `sizeInMeters/2` meters apart from the `LatLng`.
|
|
@@ -878,7 +878,7 @@ function on() {
|
|
|
878
878
|
var M = t.getSouthWest(), b = t.getNorthEast(), C = new Y(M.lat - d, M.lng - _), k = new Y(b.lat - d, b.lng - _);
|
|
879
879
|
return new pt(C, k);
|
|
880
880
|
}
|
|
881
|
-
},
|
|
881
|
+
}, ee = l({}, $t, {
|
|
882
882
|
wrapLng: [-180, 180],
|
|
883
883
|
// Mean Earth Radius, as recommended for use by
|
|
884
884
|
// the International Union of Geodesy and Geophysics,
|
|
@@ -942,7 +942,7 @@ function on() {
|
|
|
942
942
|
function Fe(t, s, o, d) {
|
|
943
943
|
return new cn(t, s, o, d);
|
|
944
944
|
}
|
|
945
|
-
var dn = l({},
|
|
945
|
+
var dn = l({}, ee, {
|
|
946
946
|
code: "EPSG:3857",
|
|
947
947
|
projection: un,
|
|
948
948
|
transformation: function() {
|
|
@@ -1040,7 +1040,7 @@ function on() {
|
|
|
1040
1040
|
touchmove: bi,
|
|
1041
1041
|
touchend: bi,
|
|
1042
1042
|
touchcancel: bi
|
|
1043
|
-
},
|
|
1043
|
+
}, xe = {}, Is = !1;
|
|
1044
1044
|
function Jr(t, s, o) {
|
|
1045
1045
|
return s === "touchstart" && eo(), As[s] ? (o = As[s].bind(this, o), t.addEventListener(vn[s], o, !1), o) : (console.warn("wrong event specified:", s), p);
|
|
1046
1046
|
}
|
|
@@ -1052,13 +1052,13 @@ function on() {
|
|
|
1052
1052
|
t.removeEventListener(vn[s], o, !1);
|
|
1053
1053
|
}
|
|
1054
1054
|
function Yr(t) {
|
|
1055
|
-
|
|
1055
|
+
xe[t.pointerId] = t;
|
|
1056
1056
|
}
|
|
1057
1057
|
function to(t) {
|
|
1058
|
-
|
|
1058
|
+
xe[t.pointerId] && (xe[t.pointerId] = t);
|
|
1059
1059
|
}
|
|
1060
1060
|
function Os(t) {
|
|
1061
|
-
delete
|
|
1061
|
+
delete xe[t.pointerId];
|
|
1062
1062
|
}
|
|
1063
1063
|
function eo() {
|
|
1064
1064
|
Is || (document.addEventListener(ks, Yr, !0), document.addEventListener(Ts, to, !0), document.addEventListener(Es, Os, !0), document.addEventListener(Ss, Os, !0), Is = !0);
|
|
@@ -1066,8 +1066,8 @@ function on() {
|
|
|
1066
1066
|
function bi(t, s) {
|
|
1067
1067
|
if (s.pointerType !== (s.MSPOINTER_TYPE_MOUSE || "mouse")) {
|
|
1068
1068
|
s.touches = [];
|
|
1069
|
-
for (var o in
|
|
1070
|
-
s.touches.push(
|
|
1069
|
+
for (var o in xe)
|
|
1070
|
+
s.touches.push(xe[o]);
|
|
1071
1071
|
s.changedTouches = [s], t(s);
|
|
1072
1072
|
}
|
|
1073
1073
|
}
|
|
@@ -1137,11 +1137,11 @@ function on() {
|
|
|
1137
1137
|
for (; t.firstChild; )
|
|
1138
1138
|
t.removeChild(t.firstChild);
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1140
|
+
function we(t) {
|
|
1141
1141
|
var s = t.parentNode;
|
|
1142
1142
|
s && s.lastChild !== t && s.appendChild(t);
|
|
1143
1143
|
}
|
|
1144
|
-
function
|
|
1144
|
+
function be(t) {
|
|
1145
1145
|
var s = t.parentNode;
|
|
1146
1146
|
s && s.firstChild !== t && s.insertBefore(t, s.firstChild);
|
|
1147
1147
|
}
|
|
@@ -1257,8 +1257,8 @@ function on() {
|
|
|
1257
1257
|
create: Q,
|
|
1258
1258
|
remove: lt,
|
|
1259
1259
|
empty: Pi,
|
|
1260
|
-
toFront:
|
|
1261
|
-
toBack:
|
|
1260
|
+
toFront: we,
|
|
1261
|
+
toBack: be,
|
|
1262
1262
|
hasClass: Mn,
|
|
1263
1263
|
addClass: W,
|
|
1264
1264
|
removeClass: ct,
|
|
@@ -1651,7 +1651,7 @@ function on() {
|
|
|
1651
1651
|
return wt(_t) / mt(_t);
|
|
1652
1652
|
}
|
|
1653
1653
|
var kt = V(0);
|
|
1654
|
-
function
|
|
1654
|
+
function Se(_t) {
|
|
1655
1655
|
return C * (mt(kt) / mt(kt + z * _t));
|
|
1656
1656
|
}
|
|
1657
1657
|
function Ko(_t) {
|
|
@@ -1665,7 +1665,7 @@ function on() {
|
|
|
1665
1665
|
var _t = (Date.now() - Jo) / Qo, Fi = Xo(_t) * ya;
|
|
1666
1666
|
_t <= 1 ? (this._flyToFrame = K(Ma, this), this._move(
|
|
1667
1667
|
this.unproject(d.add(_.subtract(d).multiplyBy(Ko(Fi) / E)), b),
|
|
1668
|
-
this.getScaleZoom(C /
|
|
1668
|
+
this.getScaleZoom(C / Se(Fi), b),
|
|
1669
1669
|
{ flyTo: !0 }
|
|
1670
1670
|
)) : this._move(t, s)._moveEnd(!0);
|
|
1671
1671
|
}
|
|
@@ -2758,7 +2758,7 @@ function on() {
|
|
|
2758
2758
|
Ut.addTo = function(t, s) {
|
|
2759
2759
|
return t.addHandler(s, this), this;
|
|
2760
2760
|
};
|
|
2761
|
-
var vo = { Events: xt }, qs = D.touch ? "touchstart mousedown" : "mousedown",
|
|
2761
|
+
var vo = { Events: xt }, qs = D.touch ? "touchstart mousedown" : "mousedown", ie = ce.extend({
|
|
2762
2762
|
options: {
|
|
2763
2763
|
// @section
|
|
2764
2764
|
// @aka Draggable options
|
|
@@ -2780,15 +2780,15 @@ function on() {
|
|
|
2780
2780
|
// @method disable()
|
|
2781
2781
|
// Disables the dragging ability
|
|
2782
2782
|
disable: function() {
|
|
2783
|
-
this._enabled && (
|
|
2783
|
+
this._enabled && (ie._dragging === this && this.finishDrag(!0), at(this._dragStartTarget, qs, this._onDown, this), this._enabled = !1, this._moved = !1);
|
|
2784
2784
|
},
|
|
2785
2785
|
_onDown: function(t) {
|
|
2786
2786
|
if (this._enabled && (this._moved = !1, !Mn(this._element, "leaflet-zoom-anim"))) {
|
|
2787
2787
|
if (t.touches && t.touches.length !== 1) {
|
|
2788
|
-
|
|
2788
|
+
ie._dragging === this && this.finishDrag();
|
|
2789
2789
|
return;
|
|
2790
2790
|
}
|
|
2791
|
-
if (!(
|
|
2791
|
+
if (!(ie._dragging || t.shiftKey || t.which !== 1 && t.button !== 1 && !t.touches) && (ie._dragging = this, this._preventOutline && Cn(this._element), wn(), je(), !this._moving)) {
|
|
2792
2792
|
this.fire("down");
|
|
2793
2793
|
var s = t.touches ? t.touches[0] : t, o = Ns(this._element);
|
|
2794
2794
|
this._startPoint = new q(s.clientX, s.clientY), this._startPos = fe(this._element), this._parentScale = kn(o);
|
|
@@ -2817,7 +2817,7 @@ function on() {
|
|
|
2817
2817
|
finishDrag: function(t) {
|
|
2818
2818
|
ct(document.body, "leaflet-dragging"), this._lastTarget && (ct(this._lastTarget, "leaflet-drag-target"), this._lastTarget = null), at(document, "mousemove touchmove", this._onMove, this), at(document, "mouseup touchend touchcancel", this._onUp, this), bn(), We();
|
|
2819
2819
|
var s = this._moved && this._moving;
|
|
2820
|
-
this._moving = !1,
|
|
2820
|
+
this._moving = !1, ie._dragging = !1, s && this.fire("dragend", {
|
|
2821
2821
|
noInertia: t,
|
|
2822
2822
|
distance: this._newPos.distanceTo(this._startPos)
|
|
2823
2823
|
});
|
|
@@ -2849,8 +2849,8 @@ function on() {
|
|
|
2849
2849
|
for (C = k = E = 0, o = 0, d = mt - 1; o < mt; d = o++)
|
|
2850
2850
|
_ = zt[o], M = zt[d], b = _.y * M.x - M.y * _.x, k += (_.x + M.x) * b, E += (_.y + M.y) * b, C += b * 3;
|
|
2851
2851
|
C === 0 ? z = zt[0] : z = [k / C, E / C];
|
|
2852
|
-
var
|
|
2853
|
-
return $([
|
|
2852
|
+
var Se = s.unproject(F(z));
|
|
2853
|
+
return $([Se.lat + Z.lat, Se.lng + Z.lng]);
|
|
2854
2854
|
}
|
|
2855
2855
|
function Bn(t) {
|
|
2856
2856
|
for (var s = 0, o = 0, d = 0, _ = 0; _ < t.length; _++) {
|
|
@@ -2995,14 +2995,14 @@ function on() {
|
|
|
2995
2995
|
LonLat: Dn,
|
|
2996
2996
|
Mercator: Rn,
|
|
2997
2997
|
SphericalMercator: un
|
|
2998
|
-
}, Co = l({},
|
|
2998
|
+
}, Co = l({}, ee, {
|
|
2999
2999
|
code: "EPSG:3395",
|
|
3000
3000
|
projection: Rn,
|
|
3001
3001
|
transformation: function() {
|
|
3002
3002
|
var t = 0.5 / (Math.PI * Rn.R);
|
|
3003
3003
|
return Fe(t, 0.5, -t, 0.5);
|
|
3004
3004
|
}()
|
|
3005
|
-
}), Ys = l({},
|
|
3005
|
+
}), Ys = l({}, ee, {
|
|
3006
3006
|
code: "EPSG:4326",
|
|
3007
3007
|
projection: Dn,
|
|
3008
3008
|
transformation: Fe(1 / 180, 1, -1 / 180, 0.5)
|
|
@@ -3021,7 +3021,7 @@ function on() {
|
|
|
3021
3021
|
},
|
|
3022
3022
|
infinite: !0
|
|
3023
3023
|
});
|
|
3024
|
-
$t.Earth =
|
|
3024
|
+
$t.Earth = ee, $t.EPSG3395 = Co, $t.EPSG3857 = dn, $t.EPSG900913 = Ir, $t.EPSG4326 = Ys, $t.Simple = ko;
|
|
3025
3025
|
var Dt = ce.extend({
|
|
3026
3026
|
// Classes extending `L.Layer` will inherit the following options:
|
|
3027
3027
|
options: {
|
|
@@ -3139,7 +3139,7 @@ function on() {
|
|
|
3139
3139
|
this._layersMaxZoom = s === -1 / 0 ? void 0 : s, this._layersMinZoom = t === 1 / 0 ? void 0 : t, o !== this._getZoomSpan() && this.fire("zoomlevelschange"), this.options.maxZoom === void 0 && this._layersMaxZoom && this.getZoom() > this._layersMaxZoom && this.setZoom(this._layersMaxZoom), this.options.minZoom === void 0 && this._layersMinZoom && this.getZoom() < this._layersMinZoom && this.setZoom(this._layersMinZoom);
|
|
3140
3140
|
}
|
|
3141
3141
|
});
|
|
3142
|
-
var
|
|
3142
|
+
var Pe = Dt.extend({
|
|
3143
3143
|
initialize: function(t, s) {
|
|
3144
3144
|
x(this, s), this._layers = {};
|
|
3145
3145
|
var o, d;
|
|
@@ -3226,13 +3226,13 @@ function on() {
|
|
|
3226
3226
|
return f(t);
|
|
3227
3227
|
}
|
|
3228
3228
|
}), To = function(t, s) {
|
|
3229
|
-
return new
|
|
3230
|
-
}, Kt =
|
|
3229
|
+
return new Pe(t, s);
|
|
3230
|
+
}, Kt = Pe.extend({
|
|
3231
3231
|
addLayer: function(t) {
|
|
3232
|
-
return this.hasLayer(t) ? this : (t.addEventParent(this),
|
|
3232
|
+
return this.hasLayer(t) ? this : (t.addEventParent(this), Pe.prototype.addLayer.call(this, t), this.fire("layeradd", { layer: t }));
|
|
3233
3233
|
},
|
|
3234
3234
|
removeLayer: function(t) {
|
|
3235
|
-
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this),
|
|
3235
|
+
return this.hasLayer(t) ? (t in this._layers && (t = this._layers[t]), t.removeEventParent(this), Pe.prototype.removeLayer.call(this, t), this.fire("layerremove", { layer: t })) : this;
|
|
3236
3236
|
},
|
|
3237
3237
|
// @method setStyle(style: Path options): this
|
|
3238
3238
|
// Sets the given path options to each layer of the group that has a `setStyle` method.
|
|
@@ -3261,7 +3261,7 @@ function on() {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
}), Eo = function(t, s) {
|
|
3263
3263
|
return new Kt(t, s);
|
|
3264
|
-
},
|
|
3264
|
+
}, Ce = Ct.extend({
|
|
3265
3265
|
/* @section
|
|
3266
3266
|
* @aka Icon options
|
|
3267
3267
|
*
|
|
@@ -3348,9 +3348,9 @@ function on() {
|
|
|
3348
3348
|
}
|
|
3349
3349
|
});
|
|
3350
3350
|
function So(t) {
|
|
3351
|
-
return new
|
|
3351
|
+
return new Ce(t);
|
|
3352
3352
|
}
|
|
3353
|
-
var Je =
|
|
3353
|
+
var Je = Ce.extend({
|
|
3354
3354
|
options: {
|
|
3355
3355
|
iconUrl: "marker-icon.png",
|
|
3356
3356
|
iconRetinaUrl: "marker-icon-2x.png",
|
|
@@ -3362,7 +3362,7 @@ function on() {
|
|
|
3362
3362
|
shadowSize: [41, 41]
|
|
3363
3363
|
},
|
|
3364
3364
|
_getIconUrl: function(t) {
|
|
3365
|
-
return typeof Je.imagePath != "string" && (Je.imagePath = this._detectIconPath()), (this.options.imagePath || Je.imagePath) +
|
|
3365
|
+
return typeof Je.imagePath != "string" && (Je.imagePath = this._detectIconPath()), (this.options.imagePath || Je.imagePath) + Ce.prototype._getIconUrl.call(this, t);
|
|
3366
3366
|
},
|
|
3367
3367
|
_stripUrl: function(t) {
|
|
3368
3368
|
var s = function(o, d, _) {
|
|
@@ -3384,7 +3384,7 @@ function on() {
|
|
|
3384
3384
|
},
|
|
3385
3385
|
addHooks: function() {
|
|
3386
3386
|
var t = this._marker._icon;
|
|
3387
|
-
this._draggable || (this._draggable = new
|
|
3387
|
+
this._draggable || (this._draggable = new ie(t, t, !0)), this._draggable.on({
|
|
3388
3388
|
dragstart: this._onDragStart,
|
|
3389
3389
|
predrag: this._onPreDrag,
|
|
3390
3390
|
drag: this._onDrag,
|
|
@@ -3616,7 +3616,7 @@ function on() {
|
|
|
3616
3616
|
function Ao(t, s) {
|
|
3617
3617
|
return new Ai(t, s);
|
|
3618
3618
|
}
|
|
3619
|
-
var
|
|
3619
|
+
var ne = Dt.extend({
|
|
3620
3620
|
// @section
|
|
3621
3621
|
// @aka Path options
|
|
3622
3622
|
options: {
|
|
@@ -3702,7 +3702,7 @@ function on() {
|
|
|
3702
3702
|
_clickTolerance: function() {
|
|
3703
3703
|
return (this.options.stroke ? this.options.weight / 2 : 0) + (this._renderer.options.tolerance || 0);
|
|
3704
3704
|
}
|
|
3705
|
-
}), Ii =
|
|
3705
|
+
}), Ii = ne.extend({
|
|
3706
3706
|
// @section
|
|
3707
3707
|
// @aka CircleMarker options
|
|
3708
3708
|
options: {
|
|
@@ -3737,7 +3737,7 @@ function on() {
|
|
|
3737
3737
|
},
|
|
3738
3738
|
setStyle: function(t) {
|
|
3739
3739
|
var s = t && t.radius || this._radius;
|
|
3740
|
-
return
|
|
3740
|
+
return ne.prototype.setStyle.call(this, t), this.setRadius(s), this;
|
|
3741
3741
|
},
|
|
3742
3742
|
_project: function() {
|
|
3743
3743
|
this._point = this._map.latLngToLayerPoint(this._latlng), this._updateBounds();
|
|
@@ -3788,11 +3788,11 @@ function on() {
|
|
|
3788
3788
|
this._map.layerPointToLatLng(this._point.add(t))
|
|
3789
3789
|
);
|
|
3790
3790
|
},
|
|
3791
|
-
setStyle:
|
|
3791
|
+
setStyle: ne.prototype.setStyle,
|
|
3792
3792
|
_project: function() {
|
|
3793
3793
|
var t = this._latlng.lng, s = this._latlng.lat, o = this._map, d = o.options.crs;
|
|
3794
|
-
if (d.distance ===
|
|
3795
|
-
var _ = Math.PI / 180, M = this._mRadius /
|
|
3794
|
+
if (d.distance === ee.distance) {
|
|
3795
|
+
var _ = Math.PI / 180, M = this._mRadius / ee.R / _, b = o.project([s + M, t]), C = o.project([s - M, t]), k = b.add(C).divideBy(2), E = o.unproject(k).lat, z = Math.acos((Math.cos(M * _) - Math.sin(s * _) * Math.sin(E * _)) / (Math.cos(s * _) * Math.cos(E * _))) / _;
|
|
3796
3796
|
(isNaN(z) || z === 0) && (z = M / Math.cos(Math.PI / 180 * s)), this._point = k.subtract(o.getPixelOrigin()), this._radius = isNaN(z) ? 0 : k.x - o.project([E, t - z]).x, this._radiusY = k.y - b.y;
|
|
3797
3797
|
} else {
|
|
3798
3798
|
var Z = d.unproject(d.project(this._latlng).subtract([this._mRadius, 0]));
|
|
@@ -3804,7 +3804,7 @@ function on() {
|
|
|
3804
3804
|
function Oo(t, s, o) {
|
|
3805
3805
|
return new Zn(t, s, o);
|
|
3806
3806
|
}
|
|
3807
|
-
var Xt =
|
|
3807
|
+
var Xt = ne.extend({
|
|
3808
3808
|
// @section
|
|
3809
3809
|
// @aka Polyline options
|
|
3810
3810
|
options: {
|
|
@@ -3939,7 +3939,7 @@ function on() {
|
|
|
3939
3939
|
return new Xt(t, s);
|
|
3940
3940
|
}
|
|
3941
3941
|
Xt._flat = Js;
|
|
3942
|
-
var
|
|
3942
|
+
var ke = Xt.extend({
|
|
3943
3943
|
options: {
|
|
3944
3944
|
fill: !0
|
|
3945
3945
|
},
|
|
@@ -3989,7 +3989,7 @@ function on() {
|
|
|
3989
3989
|
}
|
|
3990
3990
|
});
|
|
3991
3991
|
function Bo(t, s) {
|
|
3992
|
-
return new
|
|
3992
|
+
return new ke(t, s);
|
|
3993
3993
|
}
|
|
3994
3994
|
var Jt = Kt.extend({
|
|
3995
3995
|
/* @section
|
|
@@ -4092,7 +4092,7 @@ function on() {
|
|
|
4092
4092
|
return k = zi(d, o.type === "LineString" ? 0 : 1, b), new Xt(k, s);
|
|
4093
4093
|
case "Polygon":
|
|
4094
4094
|
case "MultiPolygon":
|
|
4095
|
-
return k = zi(d, o.type === "Polygon" ? 1 : 2, b), new
|
|
4095
|
+
return k = zi(d, o.type === "Polygon" ? 1 : 2, b), new ke(k, s);
|
|
4096
4096
|
case "GeometryCollection":
|
|
4097
4097
|
for (E = 0, z = o.geometries.length; E < z; E++) {
|
|
4098
4098
|
var Z = Oi({
|
|
@@ -4132,7 +4132,7 @@ function on() {
|
|
|
4132
4132
|
_.push(s ? Bi(t[M], Ot(t[M]) ? 0 : s - 1, o, d) : Fn(t[M], d));
|
|
4133
4133
|
return !s && o && _.length > 0 && _.push(_[0].slice()), _;
|
|
4134
4134
|
}
|
|
4135
|
-
function
|
|
4135
|
+
function Te(t, s) {
|
|
4136
4136
|
return t.feature ? l({}, t.feature, { geometry: s }) : Ni(s);
|
|
4137
4137
|
}
|
|
4138
4138
|
function Ni(t) {
|
|
@@ -4144,7 +4144,7 @@ function on() {
|
|
|
4144
4144
|
}
|
|
4145
4145
|
var Un = {
|
|
4146
4146
|
toGeoJSON: function(t) {
|
|
4147
|
-
return
|
|
4147
|
+
return Te(this, {
|
|
4148
4148
|
type: "Point",
|
|
4149
4149
|
coordinates: Fn(this.getLatLng(), t)
|
|
4150
4150
|
});
|
|
@@ -4153,25 +4153,25 @@ function on() {
|
|
|
4153
4153
|
Ai.include(Un), Zn.include(Un), Ii.include(Un), Xt.include({
|
|
4154
4154
|
toGeoJSON: function(t) {
|
|
4155
4155
|
var s = !Ot(this._latlngs), o = Bi(this._latlngs, s ? 1 : 0, !1, t);
|
|
4156
|
-
return
|
|
4156
|
+
return Te(this, {
|
|
4157
4157
|
type: (s ? "Multi" : "") + "LineString",
|
|
4158
4158
|
coordinates: o
|
|
4159
4159
|
});
|
|
4160
4160
|
}
|
|
4161
|
-
}),
|
|
4161
|
+
}), ke.include({
|
|
4162
4162
|
toGeoJSON: function(t) {
|
|
4163
4163
|
var s = !Ot(this._latlngs), o = s && !Ot(this._latlngs[0]), d = Bi(this._latlngs, o ? 2 : s ? 1 : 0, !0, t);
|
|
4164
|
-
return s || (d = [d]),
|
|
4164
|
+
return s || (d = [d]), Te(this, {
|
|
4165
4165
|
type: (o ? "Multi" : "") + "Polygon",
|
|
4166
4166
|
coordinates: d
|
|
4167
4167
|
});
|
|
4168
4168
|
}
|
|
4169
|
-
}),
|
|
4169
|
+
}), Pe.include({
|
|
4170
4170
|
toMultiPoint: function(t) {
|
|
4171
4171
|
var s = [];
|
|
4172
4172
|
return this.eachLayer(function(o) {
|
|
4173
4173
|
s.push(o.toGeoJSON(t).geometry.coordinates);
|
|
4174
|
-
}),
|
|
4174
|
+
}), Te(this, {
|
|
4175
4175
|
type: "MultiPoint",
|
|
4176
4176
|
coordinates: s
|
|
4177
4177
|
});
|
|
@@ -4194,7 +4194,7 @@ function on() {
|
|
|
4194
4194
|
b.type === "FeatureCollection" ? d.push.apply(d, b.features) : d.push(b);
|
|
4195
4195
|
}
|
|
4196
4196
|
}
|
|
4197
|
-
}), o ?
|
|
4197
|
+
}), o ? Te(this, {
|
|
4198
4198
|
geometries: d,
|
|
4199
4199
|
type: "GeometryCollection"
|
|
4200
4200
|
}) : {
|
|
@@ -4254,12 +4254,12 @@ function on() {
|
|
|
4254
4254
|
// @method bringToFront(): this
|
|
4255
4255
|
// Brings the layer to the top of all overlays.
|
|
4256
4256
|
bringToFront: function() {
|
|
4257
|
-
return this._map &&
|
|
4257
|
+
return this._map && we(this._image), this;
|
|
4258
4258
|
},
|
|
4259
4259
|
// @method bringToBack(): this
|
|
4260
4260
|
// Brings the layer to the bottom of all overlays.
|
|
4261
4261
|
bringToBack: function() {
|
|
4262
|
-
return this._map &&
|
|
4262
|
+
return this._map && be(this._image), this;
|
|
4263
4263
|
},
|
|
4264
4264
|
// @method setUrl(url: String): this
|
|
4265
4265
|
// Changes the URL of the image.
|
|
@@ -4483,12 +4483,12 @@ function on() {
|
|
|
4483
4483
|
// @method bringToFront: this
|
|
4484
4484
|
// Brings this overlay in front of other overlays (in the same map pane).
|
|
4485
4485
|
bringToFront: function() {
|
|
4486
|
-
return this._map &&
|
|
4486
|
+
return this._map && we(this._container), this;
|
|
4487
4487
|
},
|
|
4488
4488
|
// @method bringToBack: this
|
|
4489
4489
|
// Brings this overlay to the back of other overlays (in the same map pane).
|
|
4490
4490
|
bringToBack: function() {
|
|
4491
|
-
return this._map &&
|
|
4491
|
+
return this._map && be(this._container), this;
|
|
4492
4492
|
},
|
|
4493
4493
|
// prepare bound overlay to open: update latlng pos / content source (for FeatureGroup)
|
|
4494
4494
|
_prepareOpen: function(t) {
|
|
@@ -4621,10 +4621,10 @@ function on() {
|
|
|
4621
4621
|
return t = arguments.length ? t : this._source._map, !t.hasLayer(this) && t._popup && t._popup.options.autoClose && t.removeLayer(t._popup), t._popup = this, Ht.prototype.openOn.call(this, t);
|
|
4622
4622
|
},
|
|
4623
4623
|
onAdd: function(t) {
|
|
4624
|
-
Ht.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof
|
|
4624
|
+
Ht.prototype.onAdd.call(this, t), t.fire("popupopen", { popup: this }), this._source && (this._source.fire("popupopen", { popup: this }, !0), this._source instanceof ne || this._source.on("preclick", _e));
|
|
4625
4625
|
},
|
|
4626
4626
|
onRemove: function(t) {
|
|
4627
|
-
Ht.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof
|
|
4627
|
+
Ht.prototype.onRemove.call(this, t), t.fire("popupclose", { popup: this }), this._source && (this._source.fire("popupclose", { popup: this }, !0), this._source instanceof ne || this._source.off("preclick", _e));
|
|
4628
4628
|
},
|
|
4629
4629
|
getEvents: function() {
|
|
4630
4630
|
var t = Ht.prototype.getEvents.call(this);
|
|
@@ -4745,7 +4745,7 @@ function on() {
|
|
|
4745
4745
|
if (!(!this._popup || !this._map)) {
|
|
4746
4746
|
me(t);
|
|
4747
4747
|
var s = t.layer || t.target;
|
|
4748
|
-
if (this._popup._source === s && !(s instanceof
|
|
4748
|
+
if (this._popup._source === s && !(s instanceof ne)) {
|
|
4749
4749
|
this._map.hasLayer(this._popup) ? this.closePopup() : this.openPopup(t.latlng);
|
|
4750
4750
|
return;
|
|
4751
4751
|
}
|
|
@@ -4922,7 +4922,7 @@ function on() {
|
|
|
4922
4922
|
this._tooltip.options.sticky && t.originalEvent && (o = this._map.mouseEventToContainerPoint(t.originalEvent), d = this._map.containerPointToLayerPoint(o), s = this._map.layerPointToLatLng(d)), this._tooltip.setLatLng(s);
|
|
4923
4923
|
}
|
|
4924
4924
|
});
|
|
4925
|
-
var aa =
|
|
4925
|
+
var aa = Ce.extend({
|
|
4926
4926
|
options: {
|
|
4927
4927
|
// @section
|
|
4928
4928
|
// @aka DivIcon options
|
|
@@ -4954,7 +4954,7 @@ function on() {
|
|
|
4954
4954
|
function Uo(t) {
|
|
4955
4955
|
return new aa(t);
|
|
4956
4956
|
}
|
|
4957
|
-
|
|
4957
|
+
Ce.Default = Je;
|
|
4958
4958
|
var Qe = Dt.extend({
|
|
4959
4959
|
// @section
|
|
4960
4960
|
// @aka GridLayer options
|
|
@@ -5031,12 +5031,12 @@ function on() {
|
|
|
5031
5031
|
// @method bringToFront: this
|
|
5032
5032
|
// Brings the tile layer to the top of all tile layers.
|
|
5033
5033
|
bringToFront: function() {
|
|
5034
|
-
return this._map && (
|
|
5034
|
+
return this._map && (we(this._container), this._setAutoZIndex(Math.max)), this;
|
|
5035
5035
|
},
|
|
5036
5036
|
// @method bringToBack: this
|
|
5037
5037
|
// Brings the tile layer to the bottom of all tile layers.
|
|
5038
5038
|
bringToBack: function() {
|
|
5039
|
-
return this._map && (
|
|
5039
|
+
return this._map && (be(this._container), this._setAutoZIndex(Math.min)), this;
|
|
5040
5040
|
},
|
|
5041
5041
|
// @method getContainer: HTMLElement
|
|
5042
5042
|
// Returns the HTML element that contains the tiles for this layer.
|
|
@@ -5251,8 +5251,8 @@ function on() {
|
|
|
5251
5251
|
mt ? mt.current = !0 : b.push(wt);
|
|
5252
5252
|
}
|
|
5253
5253
|
}
|
|
5254
|
-
if (b.sort(function(kt,
|
|
5255
|
-
return kt.distanceTo(M) -
|
|
5254
|
+
if (b.sort(function(kt, Se) {
|
|
5255
|
+
return kt.distanceTo(M) - Se.distanceTo(M);
|
|
5256
5256
|
}), b.length !== 0) {
|
|
5257
5257
|
this._loading || (this._loading = !0, this.fire("loading"));
|
|
5258
5258
|
var zt = document.createDocumentFragment();
|
|
@@ -5358,7 +5358,7 @@ function on() {
|
|
|
5358
5358
|
function Ho(t) {
|
|
5359
5359
|
return new Qe(t);
|
|
5360
5360
|
}
|
|
5361
|
-
var
|
|
5361
|
+
var Ee = Qe.extend({
|
|
5362
5362
|
// @section
|
|
5363
5363
|
// @aka TileLayer options
|
|
5364
5364
|
options: {
|
|
@@ -5479,9 +5479,9 @@ function on() {
|
|
|
5479
5479
|
}
|
|
5480
5480
|
});
|
|
5481
5481
|
function ra(t, s) {
|
|
5482
|
-
return new
|
|
5482
|
+
return new Ee(t, s);
|
|
5483
5483
|
}
|
|
5484
|
-
var oa =
|
|
5484
|
+
var oa = Ee.extend({
|
|
5485
5485
|
// @section
|
|
5486
5486
|
// @aka TileLayer.WMS options
|
|
5487
5487
|
// If any custom options not documented here are used, they will be sent to the
|
|
@@ -5527,10 +5527,10 @@ function on() {
|
|
|
5527
5527
|
onAdd: function(t) {
|
|
5528
5528
|
this._crs = this.options.crs || t.options.crs, this._wmsVersion = parseFloat(this.wmsParams.version);
|
|
5529
5529
|
var s = this._wmsVersion >= 1.3 ? "crs" : "srs";
|
|
5530
|
-
this.wmsParams[s] = this._crs.code,
|
|
5530
|
+
this.wmsParams[s] = this._crs.code, Ee.prototype.onAdd.call(this, t);
|
|
5531
5531
|
},
|
|
5532
5532
|
getTileUrl: function(t) {
|
|
5533
|
-
var s = this._tileCoordsToNwSe(t), o = this._crs, d = gt(o.project(s[0]), o.project(s[1])), _ = d.min, M = d.max, b = (this._wmsVersion >= 1.3 && this._crs === Ys ? [_.y, _.x, M.y, M.x] : [_.x, _.y, M.x, M.y]).join(","), C =
|
|
5533
|
+
var s = this._tileCoordsToNwSe(t), o = this._crs, d = gt(o.project(s[0]), o.project(s[1])), _ = d.min, M = d.max, b = (this._wmsVersion >= 1.3 && this._crs === Ys ? [_.y, _.x, M.y, M.x] : [_.x, _.y, M.x, M.y]).join(","), C = Ee.prototype.getTileUrl.call(this, t);
|
|
5534
5534
|
return C + w(this.wmsParams, C, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + b;
|
|
5535
5535
|
},
|
|
5536
5536
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
@@ -5542,7 +5542,7 @@ function on() {
|
|
|
5542
5542
|
function qo(t, s) {
|
|
5543
5543
|
return new oa(t, s);
|
|
5544
5544
|
}
|
|
5545
|
-
|
|
5545
|
+
Ee.WMS = oa, ra.wms = qo;
|
|
5546
5546
|
var Qt = Dt.extend({
|
|
5547
5547
|
// @section
|
|
5548
5548
|
// @aka Renderer options
|
|
@@ -5825,10 +5825,10 @@ function on() {
|
|
|
5825
5825
|
t._path.v = s;
|
|
5826
5826
|
},
|
|
5827
5827
|
_bringToFront: function(t) {
|
|
5828
|
-
|
|
5828
|
+
we(t._container);
|
|
5829
5829
|
},
|
|
5830
5830
|
_bringToBack: function(t) {
|
|
5831
|
-
|
|
5831
|
+
be(t._container);
|
|
5832
5832
|
}
|
|
5833
5833
|
}, Gi = D.vml ? Ye : fs, ti = Qt.extend({
|
|
5834
5834
|
_initContainer: function() {
|
|
@@ -5874,10 +5874,10 @@ function on() {
|
|
|
5874
5874
|
},
|
|
5875
5875
|
// SVG does not have the concept of zIndex so we resort to changing the DOM order of elements
|
|
5876
5876
|
_bringToFront: function(t) {
|
|
5877
|
-
|
|
5877
|
+
we(t._path);
|
|
5878
5878
|
},
|
|
5879
5879
|
_bringToBack: function(t) {
|
|
5880
|
-
|
|
5880
|
+
be(t._path);
|
|
5881
5881
|
}
|
|
5882
5882
|
});
|
|
5883
5883
|
D.vml && ti.include(jo);
|
|
@@ -5903,9 +5903,9 @@ function on() {
|
|
|
5903
5903
|
return this.options.preferCanvas && la(t) || ua(t);
|
|
5904
5904
|
}
|
|
5905
5905
|
});
|
|
5906
|
-
var ca =
|
|
5906
|
+
var ca = ke.extend({
|
|
5907
5907
|
initialize: function(t, s) {
|
|
5908
|
-
|
|
5908
|
+
ke.prototype.initialize.call(this, this._boundsToLatLngs(t), s);
|
|
5909
5909
|
},
|
|
5910
5910
|
// @method setBounds(latLngBounds: LatLngBounds): this
|
|
5911
5911
|
// Redraws the rectangle with the passed bounds.
|
|
@@ -5924,7 +5924,7 @@ function on() {
|
|
|
5924
5924
|
function Wo(t, s) {
|
|
5925
5925
|
return new ca(t, s);
|
|
5926
5926
|
}
|
|
5927
|
-
ti.create = Gi, ti.pointsToPath = _s, Jt.geometryToLayer = Oi, Jt.coordsToLatLng = Gn, Jt.coordsToLatLngs = zi, Jt.latLngToCoords = Fn, Jt.latLngsToCoords = Bi, Jt.getFeature =
|
|
5927
|
+
ti.create = Gi, ti.pointsToPath = _s, Jt.geometryToLayer = Oi, Jt.coordsToLatLng = Gn, Jt.coordsToLatLngs = zi, Jt.latLngToCoords = Fn, Jt.latLngsToCoords = Bi, Jt.getFeature = Te, Jt.asFeature = Ni, X.mergeOptions({
|
|
5928
5928
|
// @option boxZoom: Boolean = true
|
|
5929
5929
|
// Whether the map can be zoomed to a rectangular area specified by
|
|
5930
5930
|
// dragging the mouse while pressing the shift key.
|
|
@@ -6048,7 +6048,7 @@ function on() {
|
|
|
6048
6048
|
addHooks: function() {
|
|
6049
6049
|
if (!this._draggable) {
|
|
6050
6050
|
var t = this._map;
|
|
6051
|
-
this._draggable = new
|
|
6051
|
+
this._draggable = new ie(t._mapPane, t._container), this._draggable.on({
|
|
6052
6052
|
dragstart: this._onDragStart,
|
|
6053
6053
|
drag: this._onDrag,
|
|
6054
6054
|
dragend: this._onDragEnd
|
|
@@ -6365,7 +6365,7 @@ function on() {
|
|
|
6365
6365
|
this._zooming = !1, nt(this._animRequest), at(document, "touchmove", this._onTouchMove, this), at(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
|
|
6366
6366
|
}
|
|
6367
6367
|
});
|
|
6368
|
-
X.addInitHook("addHandler", "touchZoom", va), X.BoxZoom = da, X.DoubleClickZoom = fa, X.Drag = _a, X.Keyboard = ma, X.ScrollWheelZoom = ga, X.TapHold = pa, X.TouchZoom = va, n.Bounds = ot, n.Browser = D, n.CRS = $t, n.Canvas = ha, n.Circle = Zn, n.CircleMarker = Ii, n.Class = Ct, n.Control = Nt, n.DivIcon = aa, n.DivOverlay = Ht, n.DomEvent = uo, n.DomUtil = ho, n.Draggable =
|
|
6368
|
+
X.addInitHook("addHandler", "touchZoom", va), X.BoxZoom = da, X.DoubleClickZoom = fa, X.Drag = _a, X.Keyboard = ma, X.ScrollWheelZoom = ga, X.TapHold = pa, X.TouchZoom = va, n.Bounds = ot, n.Browser = D, n.CRS = $t, n.Canvas = ha, n.Circle = Zn, n.CircleMarker = Ii, n.Class = Ct, n.Control = Nt, n.DivIcon = aa, n.DivOverlay = Ht, n.DomEvent = uo, n.DomUtil = ho, n.Draggable = ie, n.Evented = ce, n.FeatureGroup = Kt, n.GeoJSON = Jt, n.GridLayer = Qe, n.Handler = Ut, n.Icon = Ce, n.ImageOverlay = Di, n.LatLng = Y, n.LatLngBounds = pt, n.Layer = Dt, n.LayerGroup = Pe, n.LineUtil = bo, n.Map = X, n.Marker = Ai, n.Mixin = vo, n.Path = ne, n.Point = q, n.PolyUtil = yo, n.Polygon = ke, n.Polyline = Xt, n.Popup = Ri, n.PosAnimation = Fs, n.Projection = Po, n.Rectangle = ca, n.Renderer = Qt, n.SVG = ti, n.SVGOverlay = sa, n.TileLayer = Ee, n.Tooltip = Zi, n.Transformation = cn, n.Util = Zt, n.VideoOverlay = na, n.bind = h, n.bounds = gt, n.canvas = la, n.circle = Oo, n.circleMarker = Io, n.control = Ke, n.divIcon = Uo, n.extend = l, n.featureGroup = Eo, n.geoJSON = ia, n.geoJson = No, n.gridLayer = Ho, n.icon = So, n.imageOverlay = Do, n.latLng = $, n.latLngBounds = ht, n.layerGroup = To, n.map = co, n.marker = Ao, n.point = F, n.polygon = Bo, n.polyline = zo, n.popup = Go, n.rectangle = Wo, n.setOptions = x, n.stamp = f, n.svg = ua, n.svgOverlay = Zo, n.tileLayer = ra, n.tooltip = Fo, n.transformation = Fe, n.version = r, n.videoOverlay = Ro;
|
|
6369
6369
|
var $o = window.L;
|
|
6370
6370
|
n.noConflict = function() {
|
|
6371
6371
|
return window.L = $o, this;
|
|
@@ -6404,14 +6404,14 @@ function ci(e, i, n) {
|
|
|
6404
6404
|
itemType: e,
|
|
6405
6405
|
handle: i
|
|
6406
6406
|
};
|
|
6407
|
-
return Ki.push(r), n && i(...
|
|
6407
|
+
return Ki.push(r), n && i(...ye(e), e), () => {
|
|
6408
6408
|
const l = Ki.findIndex(
|
|
6409
6409
|
(a) => a.handle == i
|
|
6410
6410
|
);
|
|
6411
6411
|
l >= 0 && Ki.splice(l, 1);
|
|
6412
6412
|
};
|
|
6413
6413
|
}
|
|
6414
|
-
function
|
|
6414
|
+
function ye(e) {
|
|
6415
6415
|
return [ve[e], ve];
|
|
6416
6416
|
}
|
|
6417
6417
|
const uh = {
|
|
@@ -6523,6 +6523,7 @@ rt.Icon.Default.mergeOptions({
|
|
|
6523
6523
|
imagePath: "data:image/png;base64,"
|
|
6524
6524
|
});
|
|
6525
6525
|
function ch(e, i, n, r) {
|
|
6526
|
+
var c;
|
|
6526
6527
|
const l = uh[e], a = l[i].Map, h = l.key, u = h ? { [h]: l[h] } : {}, f = n.getCenter();
|
|
6527
6528
|
e == "Baidu" ? (n.options.crs = rt.CRS.Baidu, n.setMaxBounds(rt.latLngBounds([0, 0], [85, 180]))) : (n.options.crs = rt.CRS.EPSG3857, n.setMaxBounds(rt.latLngBounds([-90, 180], [90, -180]))), n.setView(f);
|
|
6528
6529
|
const m = J({
|
|
@@ -6530,10 +6531,16 @@ function ch(e, i, n, r) {
|
|
|
6530
6531
|
attribution: `${e} ${i}`,
|
|
6531
6532
|
maxZoom: 18,
|
|
6532
6533
|
zIndex: 9
|
|
6533
|
-
}, u)
|
|
6534
|
+
}, u);
|
|
6535
|
+
let y = `${a.startsWith("http") ? a : "https:" + a}`;
|
|
6536
|
+
if (e == "Offline") {
|
|
6537
|
+
const g = (c = ye("prefixPath")[0]) == null ? void 0 : c.offline;
|
|
6538
|
+
g && (y = y.replace("/bvmap/v1/tile", `${g}/bvmap/v1/tile`));
|
|
6539
|
+
}
|
|
6540
|
+
const p = r || rt.tileLayer(y, J({}, m));
|
|
6534
6541
|
if (p && (p.setUrl(y), p.initialize(y, m)), p.maptype = e, l[i].Annotion) {
|
|
6535
|
-
const
|
|
6536
|
-
`${
|
|
6542
|
+
const g = l[i].Annotion, v = rt.tileLayer(
|
|
6543
|
+
`${g.startsWith("http") ? g : "https:" + g}`,
|
|
6537
6544
|
J({
|
|
6538
6545
|
subdomains: l.Subdomains,
|
|
6539
6546
|
attribution: `${e} ${i}`,
|
|
@@ -6541,25 +6548,25 @@ function ch(e, i, n, r) {
|
|
|
6541
6548
|
zIndex: 10
|
|
6542
6549
|
}, u)
|
|
6543
6550
|
);
|
|
6544
|
-
|
|
6545
|
-
|
|
6551
|
+
v.on("tileload", (w) => {
|
|
6552
|
+
w.tile.className += " tile-custom-test";
|
|
6546
6553
|
});
|
|
6547
|
-
const
|
|
6548
|
-
|
|
6554
|
+
const x = () => {
|
|
6555
|
+
v.remove(), p.off("remove", x);
|
|
6549
6556
|
};
|
|
6550
|
-
p.on("remove",
|
|
6557
|
+
p.on("remove", x), v.maptype = e, v.addTo(n);
|
|
6551
6558
|
}
|
|
6552
6559
|
return p.addTo(n), setTimeout(() => {
|
|
6553
6560
|
n.setView(f);
|
|
6554
6561
|
}, 100), p;
|
|
6555
6562
|
}
|
|
6556
6563
|
function dh(e, i) {
|
|
6557
|
-
const [n] =
|
|
6558
|
-
let r = e({ mapType: n, tileType:
|
|
6564
|
+
const [n] = ye("mapType");
|
|
6565
|
+
let r = e({ mapType: n, tileType: ye("tileType")[0] });
|
|
6559
6566
|
function l() {
|
|
6560
6567
|
i.direct || (r.remove(), r = e({
|
|
6561
|
-
mapType:
|
|
6562
|
-
tileType:
|
|
6568
|
+
mapType: ye("mapType")[0],
|
|
6569
|
+
tileType: ye("tileType")[0]
|
|
6563
6570
|
}), r.on("tileload", (u) => {
|
|
6564
6571
|
u.tile.className += " tile-custom-test";
|
|
6565
6572
|
}));
|
|
@@ -7688,7 +7695,7 @@ function vh(e) {
|
|
|
7688
7695
|
}
|
|
7689
7696
|
class yh {
|
|
7690
7697
|
constructor(i, n) {
|
|
7691
|
-
this.currentMarker = null, this.popupCloseHandle = [], this.popup = L.popup(
|
|
7698
|
+
this.currentMarker = null, this.popupCloseHandle = [], this.popup = L.popup(se(J({}, n), {
|
|
7692
7699
|
offset: [0, -5],
|
|
7693
7700
|
maxWidth: 500,
|
|
7694
7701
|
autoClose: !1,
|
|
@@ -10074,7 +10081,7 @@ L.Polyline.include({
|
|
|
10074
10081
|
}
|
|
10075
10082
|
return l;
|
|
10076
10083
|
});
|
|
10077
|
-
this._ghosts = L.polyline(r,
|
|
10084
|
+
this._ghosts = L.polyline(r, se(J({}, this.options), {
|
|
10078
10085
|
color: "rgba(0,0,0,0)",
|
|
10079
10086
|
stroke: 0,
|
|
10080
10087
|
smoothFactor: 0,
|
|
@@ -10382,7 +10389,7 @@ class zh {
|
|
|
10382
10389
|
this.markerCurrent.remove(), this.lastPointIndex = 0, this.polyine.setLatLngs([]), this.polyineBlack.setLatLngs([]);
|
|
10383
10390
|
}
|
|
10384
10391
|
}
|
|
10385
|
-
const
|
|
10392
|
+
const ae = 1024, cs = class cs {
|
|
10386
10393
|
constructor(i) {
|
|
10387
10394
|
this.baseline = new Oh(), this.timeCallback = null, this._currentPoints = null, this.intervalToken = null, this.pastTimeTotal = 0, this.startTime = 0, this.bPause = !0, this.playSegments = [], this.playStartTrackTime = 0, this.fastModeTotalDuration = 0, this.fastModePlayTime = 0, this.playRate = 1, this.baseline.addTo(i), this.passedLine = new zh(i), this.map = i, this.applyRotation();
|
|
10388
10395
|
}
|
|
@@ -10399,7 +10406,7 @@ const te = 1024, cs = class cs {
|
|
|
10399
10406
|
}
|
|
10400
10407
|
}
|
|
10401
10408
|
mapPlayTimeToTrackTime(i) {
|
|
10402
|
-
if (this.playRate ===
|
|
10409
|
+
if (this.playRate === ae && this.fastModeTotalDuration > 0) {
|
|
10403
10410
|
const l = Math.min(i, 30) / 30;
|
|
10404
10411
|
return this.playStartTrackTime + this.fastModeTotalDuration * l;
|
|
10405
10412
|
}
|
|
@@ -10452,13 +10459,11 @@ const te = 1024, cs = class cs {
|
|
|
10452
10459
|
}
|
|
10453
10460
|
jump(i) {
|
|
10454
10461
|
var n;
|
|
10455
|
-
if (this.playRate === te)
|
|
10456
|
-
return !1;
|
|
10457
10462
|
if (i && this._currentPoints) {
|
|
10458
10463
|
if (i < this._currentPoints[0].time || i > this._currentPoints[this._currentPoints.length - 1].time)
|
|
10459
10464
|
return !1;
|
|
10460
10465
|
{
|
|
10461
|
-
this.startTime = i, this.playStartTrackTime = i, this.pastTimeTotal = 0;
|
|
10466
|
+
this.startTime = i, this.playStartTrackTime = i, this.pastTimeTotal = 0, this.fastModePlayTime = 0;
|
|
10462
10467
|
const [r, l] = this.passedLine.SetCurrentTime(i);
|
|
10463
10468
|
(n = this.timeCallback) == null || n.call(this, i, r, l);
|
|
10464
10469
|
}
|
|
@@ -10486,7 +10491,7 @@ const te = 1024, cs = class cs {
|
|
|
10486
10491
|
const l = Date.now(), a = (l - i) / 1e3;
|
|
10487
10492
|
i = l;
|
|
10488
10493
|
let h = 0;
|
|
10489
|
-
this.playRate ===
|
|
10494
|
+
this.playRate === ae ? (this.fastModePlayTime += a, h = this.mapPlayTimeToTrackTime(this.fastModePlayTime)) : (this.pastTimeTotal += a * this.playRate, h = this.mapPlayTimeToTrackTime(this.pastTimeTotal)), h > n && (h = n);
|
|
10490
10495
|
const u = Math.floor(h);
|
|
10491
10496
|
if (r != u) {
|
|
10492
10497
|
const [m, y] = this.passedLine.SetCurrentTime(u);
|
|
@@ -10504,8 +10509,8 @@ const te = 1024, cs = class cs {
|
|
|
10504
10509
|
SetPlayRate(i) {
|
|
10505
10510
|
var a, h;
|
|
10506
10511
|
const n = this.bPause;
|
|
10507
|
-
if (i < 1 || i >
|
|
10508
|
-
const r = this.playRate, l = r ===
|
|
10512
|
+
if (i < 1 || i > ae || Math.floor(i) !== i) return;
|
|
10513
|
+
const r = this.playRate, l = r === ae && i !== ae || r !== ae && i === ae;
|
|
10509
10514
|
if (this.playRate = i, this._currentPoints && this._currentPoints.length > 1 && this.buildPlaySegments(this._currentPoints), l && ((a = this._currentPoints) != null && a.length)) {
|
|
10510
10515
|
const u = this._currentPoints[0].time;
|
|
10511
10516
|
this.stoptInterval(), this.pastTimeTotal = 0, this.fastModePlayTime = 0, this.startTime = u, this.playStartTrackTime = u, this.passedLine.clearPassedLine(), this.passedLine.SetCurrentTime(u), (h = this.timeCallback) == null || h.call(this, u, 0, 1), n ? this.bPause = !0 : this.startInterval();
|
|
@@ -10525,7 +10530,7 @@ const te = 1024, cs = class cs {
|
|
|
10525
10530
|
this.passedLine.SetMarkerFitView();
|
|
10526
10531
|
}
|
|
10527
10532
|
};
|
|
10528
|
-
cs.iOverflowPlayRate =
|
|
10533
|
+
cs.iOverflowPlayRate = ae;
|
|
10529
10534
|
let Xn = cs;
|
|
10530
10535
|
var Bh = { exports: {} };
|
|
10531
10536
|
(function(e, i) {
|
|
@@ -11823,7 +11828,7 @@ class Rh {
|
|
|
11823
11828
|
return [l.lat, l.lng];
|
|
11824
11829
|
}
|
|
11825
11830
|
);
|
|
11826
|
-
return
|
|
11831
|
+
return se(J({}, this.lineInfo), {
|
|
11827
11832
|
latlngs: i,
|
|
11828
11833
|
title: this.title
|
|
11829
11834
|
});
|
|
@@ -11915,7 +11920,7 @@ class Fh {
|
|
|
11915
11920
|
}
|
|
11916
11921
|
getInfo() {
|
|
11917
11922
|
const i = this.marker.getLatLng();
|
|
11918
|
-
return
|
|
11923
|
+
return se(J({}, this.markerInfo), {
|
|
11919
11924
|
latlng: [i.lat, i.lng]
|
|
11920
11925
|
});
|
|
11921
11926
|
}
|
|
@@ -11990,7 +11995,7 @@ class Uh {
|
|
|
11990
11995
|
}
|
|
11991
11996
|
getInfo() {
|
|
11992
11997
|
const i = this.polygon.getLatLngs()[0].map((n) => [n.lat, n.lng]);
|
|
11993
|
-
return
|
|
11998
|
+
return se(J({}, this.polygonInfo), {
|
|
11994
11999
|
latlngs: i
|
|
11995
12000
|
});
|
|
11996
12001
|
}
|
|
@@ -12359,7 +12364,7 @@ function tl(e) {
|
|
|
12359
12364
|
e("EPSG:" + (32600 + i), "+proj=utm +zone=" + i + " +datum=WGS84 +units=m"), e("EPSG:" + (32700 + i), "+proj=utm +zone=" + i + " +south +datum=WGS84 +units=m");
|
|
12360
12365
|
e.WGS84 = e["EPSG:4326"], e["EPSG:3785"] = e["EPSG:3857"], e.GOOGLE = e["EPSG:3857"], e["EPSG:900913"] = e["EPSG:3857"], e["EPSG:102113"] = e["EPSG:3857"];
|
|
12361
12366
|
}
|
|
12362
|
-
var
|
|
12367
|
+
var Me = 1, Le = 2, Ne = 3, el = 4, Qn = 5, Za = 6378137, il = 6356752314e-3, Ga = 0.0066943799901413165, ri = 484813681109536e-20, A = Math.PI / 2, nl = 0.16666666666666666, sl = 0.04722222222222222, al = 0.022156084656084655, I = 1e-10, yt = 0.017453292519943295, jt = 57.29577951308232, tt = Math.PI / 4, fi = Math.PI * 2, dt = 3.14159265359, St = {};
|
|
12363
12368
|
St.greenwich = 0;
|
|
12364
12369
|
St.lisbon = -9.131906111111;
|
|
12365
12370
|
St.paris = 2.337229166667;
|
|
@@ -12513,12 +12518,12 @@ function Yn(e) {
|
|
|
12513
12518
|
return typeof i.datumCode == "string" && i.datumCode !== "WGS84" && (i.datumCode = i.datumCode.toLowerCase()), i;
|
|
12514
12519
|
}
|
|
12515
12520
|
var _i = 1, lr = 2, ur = 3, tn = 4, cr = 5, ss = -1, ol = /\s/, hl = /[A-Za-z]/, ll = /[A-Za-z84_]/, ln = /[,\]]/, dr = /[\d\.E\-\+]/;
|
|
12516
|
-
function
|
|
12521
|
+
function te(e) {
|
|
12517
12522
|
if (typeof e != "string")
|
|
12518
12523
|
throw new Error("not a string");
|
|
12519
12524
|
this.text = e.trim(), this.level = 0, this.place = 0, this.root = null, this.stack = [], this.currentObject = null, this.state = _i;
|
|
12520
12525
|
}
|
|
12521
|
-
|
|
12526
|
+
te.prototype.readCharicter = function() {
|
|
12522
12527
|
var e = this.text[this.place++];
|
|
12523
12528
|
if (this.state !== tn)
|
|
12524
12529
|
for (; ol.test(e); ) {
|
|
@@ -12541,7 +12546,7 @@ ee.prototype.readCharicter = function() {
|
|
|
12541
12546
|
return;
|
|
12542
12547
|
}
|
|
12543
12548
|
};
|
|
12544
|
-
|
|
12549
|
+
te.prototype.afterquote = function(e) {
|
|
12545
12550
|
if (e === '"') {
|
|
12546
12551
|
this.word += '"', this.state = tn;
|
|
12547
12552
|
return;
|
|
@@ -12552,7 +12557,7 @@ ee.prototype.afterquote = function(e) {
|
|
|
12552
12557
|
}
|
|
12553
12558
|
throw new Error(`havn't handled "` + e + '" in afterquote yet, index ' + this.place);
|
|
12554
12559
|
};
|
|
12555
|
-
|
|
12560
|
+
te.prototype.afterItem = function(e) {
|
|
12556
12561
|
if (e === ",") {
|
|
12557
12562
|
this.word !== null && this.currentObject.push(this.word), this.word = null, this.state = _i;
|
|
12558
12563
|
return;
|
|
@@ -12562,7 +12567,7 @@ ee.prototype.afterItem = function(e) {
|
|
|
12562
12567
|
return;
|
|
12563
12568
|
}
|
|
12564
12569
|
};
|
|
12565
|
-
|
|
12570
|
+
te.prototype.number = function(e) {
|
|
12566
12571
|
if (dr.test(e)) {
|
|
12567
12572
|
this.word += e;
|
|
12568
12573
|
return;
|
|
@@ -12573,14 +12578,14 @@ ee.prototype.number = function(e) {
|
|
|
12573
12578
|
}
|
|
12574
12579
|
throw new Error(`havn't handled "` + e + '" in number yet, index ' + this.place);
|
|
12575
12580
|
};
|
|
12576
|
-
|
|
12581
|
+
te.prototype.quoted = function(e) {
|
|
12577
12582
|
if (e === '"') {
|
|
12578
12583
|
this.state = cr;
|
|
12579
12584
|
return;
|
|
12580
12585
|
}
|
|
12581
12586
|
this.word += e;
|
|
12582
12587
|
};
|
|
12583
|
-
|
|
12588
|
+
te.prototype.keyword = function(e) {
|
|
12584
12589
|
if (ll.test(e)) {
|
|
12585
12590
|
this.word += e;
|
|
12586
12591
|
return;
|
|
@@ -12596,7 +12601,7 @@ ee.prototype.keyword = function(e) {
|
|
|
12596
12601
|
}
|
|
12597
12602
|
throw new Error(`havn't handled "` + e + '" in keyword yet, index ' + this.place);
|
|
12598
12603
|
};
|
|
12599
|
-
|
|
12604
|
+
te.prototype.neutral = function(e) {
|
|
12600
12605
|
if (hl.test(e)) {
|
|
12601
12606
|
this.word = e, this.state = lr;
|
|
12602
12607
|
return;
|
|
@@ -12615,7 +12620,7 @@ ee.prototype.neutral = function(e) {
|
|
|
12615
12620
|
}
|
|
12616
12621
|
throw new Error(`havn't handled "` + e + '" in neutral yet, index ' + this.place);
|
|
12617
12622
|
};
|
|
12618
|
-
|
|
12623
|
+
te.prototype.output = function() {
|
|
12619
12624
|
for (; this.place < this.text.length; )
|
|
12620
12625
|
this.readCharicter();
|
|
12621
12626
|
if (this.state === ss)
|
|
@@ -12623,7 +12628,7 @@ ee.prototype.output = function() {
|
|
|
12623
12628
|
throw new Error('unable to parse string "' + this.text + '". State is ' + this.state);
|
|
12624
12629
|
};
|
|
12625
12630
|
function ul(e) {
|
|
12626
|
-
var i = new
|
|
12631
|
+
var i = new te(e);
|
|
12627
12632
|
return i.output();
|
|
12628
12633
|
}
|
|
12629
12634
|
function Wn(e, i, n) {
|
|
@@ -13304,7 +13309,7 @@ for (var Zl in Ji) {
|
|
|
13304
13309
|
}
|
|
13305
13310
|
function Gl(e, i, n, r, l, a, h) {
|
|
13306
13311
|
var u = {};
|
|
13307
|
-
return e === void 0 || e === "none" ? u.datum_type = Qn : u.datum_type = el, i && (u.datum_params = i.map(parseFloat), (u.datum_params[0] !== 0 || u.datum_params[1] !== 0 || u.datum_params[2] !== 0) && (u.datum_type =
|
|
13312
|
+
return e === void 0 || e === "none" ? u.datum_type = Qn : u.datum_type = el, i && (u.datum_params = i.map(parseFloat), (u.datum_params[0] !== 0 || u.datum_params[1] !== 0 || u.datum_params[2] !== 0) && (u.datum_type = Me), u.datum_params.length > 3 && (u.datum_params[3] !== 0 || u.datum_params[4] !== 0 || u.datum_params[5] !== 0 || u.datum_params[6] !== 0) && (u.datum_type = Le, u.datum_params[3] *= ri, u.datum_params[4] *= ri, u.datum_params[5] *= ri, u.datum_params[6] = u.datum_params[6] / 1e6 + 1)), h && (u.datum_type = Ne, u.grids = h), u.a = n, u.b = r, u.es = l, u.ep2 = a, u;
|
|
13308
13313
|
}
|
|
13309
13314
|
var gr = {};
|
|
13310
13315
|
function Fl(e, i) {
|
|
@@ -13433,7 +13438,7 @@ function Wt(e, i) {
|
|
|
13433
13438
|
Wt.projections = Bl;
|
|
13434
13439
|
Wt.projections.start();
|
|
13435
13440
|
function Xl(e, i) {
|
|
13436
|
-
return e.datum_type !== i.datum_type || e.a !== i.a || Math.abs(e.es - i.es) > 5e-11 ? !1 : e.datum_type ===
|
|
13441
|
+
return e.datum_type !== i.datum_type || e.a !== i.a || Math.abs(e.es - i.es) > 5e-11 ? !1 : e.datum_type === Me ? e.datum_params[0] === i.datum_params[0] && e.datum_params[1] === i.datum_params[1] && e.datum_params[2] === i.datum_params[2] : e.datum_type === Le ? e.datum_params[0] === i.datum_params[0] && e.datum_params[1] === i.datum_params[1] && e.datum_params[2] === i.datum_params[2] && e.datum_params[3] === i.datum_params[3] && e.datum_params[4] === i.datum_params[4] && e.datum_params[5] === i.datum_params[5] && e.datum_params[6] === i.datum_params[6] : !0;
|
|
13437
13442
|
}
|
|
13438
13443
|
function pr(e, i, n) {
|
|
13439
13444
|
var r = e.x, l = e.y, a = e.z ? e.z : 0, h, u, f, m;
|
|
@@ -13475,13 +13480,13 @@ function vr(e, i, n, r) {
|
|
|
13475
13480
|
};
|
|
13476
13481
|
}
|
|
13477
13482
|
function Jl(e, i, n) {
|
|
13478
|
-
if (i ===
|
|
13483
|
+
if (i === Me)
|
|
13479
13484
|
return {
|
|
13480
13485
|
x: e.x + n[0],
|
|
13481
13486
|
y: e.y + n[1],
|
|
13482
13487
|
z: e.z + n[2]
|
|
13483
13488
|
};
|
|
13484
|
-
if (i ===
|
|
13489
|
+
if (i === Le) {
|
|
13485
13490
|
var r = n[0], l = n[1], a = n[2], h = n[3], u = n[4], f = n[5], m = n[6];
|
|
13486
13491
|
return {
|
|
13487
13492
|
x: m * (e.x - f * e.y + u * e.z) + r,
|
|
@@ -13491,13 +13496,13 @@ function Jl(e, i, n) {
|
|
|
13491
13496
|
}
|
|
13492
13497
|
}
|
|
13493
13498
|
function Ql(e, i, n) {
|
|
13494
|
-
if (i ===
|
|
13499
|
+
if (i === Me)
|
|
13495
13500
|
return {
|
|
13496
13501
|
x: e.x - n[0],
|
|
13497
13502
|
y: e.y - n[1],
|
|
13498
13503
|
z: e.z - n[2]
|
|
13499
13504
|
};
|
|
13500
|
-
if (i ===
|
|
13505
|
+
if (i === Le) {
|
|
13501
13506
|
var r = n[0], l = n[1], a = n[2], h = n[3], u = n[4], f = n[5], m = n[6], y = (e.x - r) / m, p = (e.y - l) / m, c = (e.z - a) / m;
|
|
13502
13507
|
return {
|
|
13503
13508
|
x: y + f * p - u * c,
|
|
@@ -13507,7 +13512,7 @@ function Ql(e, i, n) {
|
|
|
13507
13512
|
}
|
|
13508
13513
|
}
|
|
13509
13514
|
function Vi(e) {
|
|
13510
|
-
return e ===
|
|
13515
|
+
return e === Me || e === Le;
|
|
13511
13516
|
}
|
|
13512
13517
|
function Yl(e, i, n) {
|
|
13513
13518
|
if (Xl(e, i) || e.datum_type === Qn || i.datum_type === Qn)
|
|
@@ -13641,7 +13646,7 @@ function $a(e) {
|
|
|
13641
13646
|
throw new TypeError("coordinates must be finite numbers");
|
|
13642
13647
|
}
|
|
13643
13648
|
function iu(e, i) {
|
|
13644
|
-
return (e.datum.datum_type ===
|
|
13649
|
+
return (e.datum.datum_type === Me || e.datum.datum_type === Le || e.datum.datum_type === Ne) && i.datumCode !== "WGS84" || (i.datum.datum_type === Me || i.datum.datum_type === Le || i.datum.datum_type === Ne) && e.datumCode !== "WGS84";
|
|
13645
13650
|
}
|
|
13646
13651
|
function nn(e, i, n, r) {
|
|
13647
13652
|
var l;
|
|
@@ -14211,7 +14216,7 @@ const rc = {
|
|
|
14211
14216
|
inverse: sc,
|
|
14212
14217
|
names: ac
|
|
14213
14218
|
};
|
|
14214
|
-
var
|
|
14219
|
+
var Ae = 1e-7;
|
|
14215
14220
|
function oc(e) {
|
|
14216
14221
|
var i = ["Hotine_Oblique_Mercator", "Hotine_Oblique_Mercator_Azimuth_Natural_Origin"], n = typeof e.PROJECTION == "object" ? Object.keys(e.PROJECTION)[0] : e.PROJECTION;
|
|
14217
14222
|
return "no_uoff" in e || "no_off" in e || i.indexOf(n) !== -1;
|
|
@@ -14224,7 +14229,7 @@ function hc() {
|
|
|
14224
14229
|
var S = !1;
|
|
14225
14230
|
if ("rectified_grid_angle" in this && (S = !0), T && (P = this.alpha), S && (y = this.rectified_grid_angle * yt), T || S)
|
|
14226
14231
|
c = this.longc;
|
|
14227
|
-
else if (g = this.long1, x = this.lat1, v = this.long2, w = this.lat2, Math.abs(x - w) <=
|
|
14232
|
+
else if (g = this.long1, x = this.lat1, v = this.long2, w = this.lat2, Math.abs(x - w) <= Ae || (e = Math.abs(x)) <= Ae || Math.abs(e - A) <= Ae || Math.abs(Math.abs(this.lat0) - A) <= Ae || Math.abs(Math.abs(w) - A) <= Ae)
|
|
14228
14233
|
throw new Error();
|
|
14229
14234
|
var B = 1 - this.es;
|
|
14230
14235
|
i = Math.sqrt(B), Math.abs(this.lat0) > I ? (u = Math.sin(this.lat0), n = Math.cos(this.lat0), e = 1 - this.es * u * u, this.B = n * n, this.B = Math.sqrt(1 + this.es * this.B * this.B / B), this.A = this.B * this.k0 * i / e, r = this.B * i / (n * Math.sqrt(e)), l = r * r - 1, l <= 0 ? l = 0 : (l = Math.sqrt(l), this.lat0 < 0 && (l = -l)), this.E = l += r, this.E *= Math.pow(Rt(this.e, this.lat0, u), this.B)) : (this.B = 1 / i, this.A = this.k0, this.E = r = l = 1), T || S ? (T ? (p = Math.asin(Math.sin(P) / r), S || (y = P)) : (p = y, P = Math.asin(r * Math.sin(p))), this.lam0 = c - Math.asin(0.5 * (l - 1 / l) * Math.tan(p)) / this.B) : (a = Math.pow(Rt(this.e, x, Math.sin(x)), this.B), h = Math.pow(Rt(this.e, w, Math.sin(w)), this.B), l = this.E / a, f = (h - a) / (h + a), m = this.E * this.E, m = (m - h * a) / (m + h * a), e = g - v, e < -Math.pi ? v -= fi : e > Math.pi && (v += fi), this.lam0 = O(0.5 * (g + v) - Math.atan(m * Math.tan(0.5 * this.B * (g - v)) / f) / this.B), p = Math.atan(2 * Math.sin(this.B * O(g - this.lam0)) / (l - 1 / l)), y = P = Math.asin(r * Math.sin(p))), this.singam = Math.sin(p), this.cosgam = Math.cos(p), this.sinrot = Math.sin(y), this.cosrot = Math.cos(y), this.rB = 1 / this.B, this.ArB = this.A * this.rB, this.BrA = 1 / this.ArB, this.A * this.B, this.no_off ? this.u_0 = 0 : (this.u_0 = Math.abs(this.ArB * Math.atan(Math.sqrt(r * r - 1) / Math.cos(P))), this.lat0 < 0 && (this.u_0 = -this.u_0)), l = 0.5 * p, this.v_pole_n = this.ArB * Math.log(Math.tan(tt - l)), this.v_pole_s = this.ArB * Math.log(Math.tan(tt + l));
|
|
@@ -14234,7 +14239,7 @@ function lc(e) {
|
|
|
14234
14239
|
if (e.x = e.x - this.lam0, Math.abs(Math.abs(e.y) - A) > I) {
|
|
14235
14240
|
if (h = this.E / Math.pow(Rt(this.e, e.y, Math.sin(e.y)), this.B), u = 1 / h, n = 0.5 * (h - u), r = 0.5 * (h + u), a = Math.sin(this.B * e.x), l = (n * this.singam - a * this.cosgam) / r, Math.abs(Math.abs(l) - 1) < I)
|
|
14236
14241
|
throw new Error();
|
|
14237
|
-
m = 0.5 * this.ArB * Math.log((1 - l) / (1 + l)), u = Math.cos(this.B * e.x), Math.abs(u) <
|
|
14242
|
+
m = 0.5 * this.ArB * Math.log((1 - l) / (1 + l)), u = Math.cos(this.B * e.x), Math.abs(u) < Ae ? f = this.A * e.x : f = this.ArB * Math.atan2(n * this.cosgam + a * this.singam, u);
|
|
14238
14243
|
} else
|
|
14239
14244
|
m = e.y > 0 ? this.v_pole_n : this.v_pole_s, f = this.ArB * e.y;
|
|
14240
14245
|
return this.no_rot ? (i.x = f, i.y = m) : (f -= this.u_0, i.x = m * this.cosrot + f * this.sinrot, i.y = f * this.cosrot - m * this.sinrot), i.x = this.a * i.x + this.x0, i.y = this.a * i.y + this.y0, i;
|
|
@@ -15408,7 +15413,8 @@ function Yf() {
|
|
|
15408
15413
|
function Kf(e) {
|
|
15409
15414
|
hn({
|
|
15410
15415
|
tileType: e.tileType ? e.tileType : "Normal",
|
|
15411
|
-
mapType: e.mapType
|
|
15416
|
+
mapType: e.mapType,
|
|
15417
|
+
prefixPath: e.prefixPath
|
|
15412
15418
|
});
|
|
15413
15419
|
}
|
|
15414
15420
|
function t_(e) {
|
|
@@ -15450,7 +15456,7 @@ function s_(e) {
|
|
|
15450
15456
|
bounds: rt.bounds([20037508342789244e-9, 0], [0, 20037508342789244e-9])
|
|
15451
15457
|
}
|
|
15452
15458
|
);
|
|
15453
|
-
const n = ((c = e.mapOptions) == null ? void 0 : c.center) || Ar, r = rt.map(e.container,
|
|
15459
|
+
const n = ((c = e.mapOptions) == null ? void 0 : c.center) || Ar, r = rt.map(e.container, se(J({
|
|
15454
15460
|
attributionControl: !1,
|
|
15455
15461
|
zoomControl: !1,
|
|
15456
15462
|
preferCanvas: !1,
|
|
@@ -15481,7 +15487,7 @@ function s_(e) {
|
|
|
15481
15487
|
direct: (g = e.tileType) == null ? void 0 : g.direct
|
|
15482
15488
|
})
|
|
15483
15489
|
);
|
|
15484
|
-
const a =
|
|
15490
|
+
const a = ye("clusterType")[0], h = new Ch(r, se(J({}, e.renderOptions), {
|
|
15485
15491
|
clusterType: a
|
|
15486
15492
|
})), u = new Xn(r), f = new Nh(r);
|
|
15487
15493
|
function m(v) {
|