gis-leaflet-helper 3.2.6 → 3.2.7
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.
|
@@ -13499,6 +13499,13 @@ q.LatLng.prototype.toArray = function() {
|
|
|
13499
13499
|
return [this.lat, this.lng];
|
|
13500
13500
|
};
|
|
13501
13501
|
q.Path.include({
|
|
13502
|
+
twinkle(e, r) {
|
|
13503
|
+
let o = !1, c = 0;
|
|
13504
|
+
const d = () => {
|
|
13505
|
+
c++, c > Math.floor(r / e) ? this.setStyle({ fill: !0 }) : (o ? (this.setStyle({ fill: !1 }), o = !1) : (this.setStyle({ fill: !0 }), o = !0), setTimeout(d, e));
|
|
13506
|
+
};
|
|
13507
|
+
d();
|
|
13508
|
+
},
|
|
13502
13509
|
getArea(e) {
|
|
13503
13510
|
if (this instanceof q.Polyline) {
|
|
13504
13511
|
var r, o = this._latlngs[0], c = (e || this._map).options.crs, d = o.length;
|