gis-leaflet-helper 3.3.8 → 3.3.10
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.
|
@@ -17425,10 +17425,15 @@ leafletSrcExports.Marker.include({
|
|
|
17425
17425
|
}
|
|
17426
17426
|
}
|
|
17427
17427
|
},
|
|
17428
|
+
startTwinkle(frequency, duration) {
|
|
17429
|
+
this.twinkle(frequency, duration);
|
|
17430
|
+
},
|
|
17428
17431
|
endTwinkle() {
|
|
17429
|
-
|
|
17430
|
-
|
|
17431
|
-
|
|
17432
|
+
if (this.twinkleTimer) {
|
|
17433
|
+
this.setOpacity(1);
|
|
17434
|
+
clearTimeout(this.twinkleTimer);
|
|
17435
|
+
this.twinkleTimer = void 0;
|
|
17436
|
+
}
|
|
17432
17437
|
},
|
|
17433
17438
|
twinkle(frequency = 200, duration = Infinity) {
|
|
17434
17439
|
let status = false;
|
|
@@ -17788,12 +17793,17 @@ leafletSrcExports.LatLng.prototype.toArray = function() {
|
|
|
17788
17793
|
return [this.lat, this.lng];
|
|
17789
17794
|
};
|
|
17790
17795
|
leafletSrcExports.Path.include({
|
|
17796
|
+
startTwinkle(frequency, duration) {
|
|
17797
|
+
this.twinkle(frequency, duration);
|
|
17798
|
+
},
|
|
17791
17799
|
endTwinkle() {
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17796
|
-
|
|
17800
|
+
if (this.twinkleTimer) {
|
|
17801
|
+
clearTimeout(this.twinkleTimer);
|
|
17802
|
+
this.setStyle({ fillColor: this._orginalColor, stroke: this._orginalStroke });
|
|
17803
|
+
this.twinkleTimer = void 0;
|
|
17804
|
+
this._orginalColor = void 0;
|
|
17805
|
+
this._orginalStroke = void 0;
|
|
17806
|
+
}
|
|
17797
17807
|
},
|
|
17798
17808
|
twinkle(frequency = 200, duration = Infinity) {
|
|
17799
17809
|
let status = false;
|
|
@@ -30341,7 +30351,8 @@ const Draw = leafletSrcExports.Handler.extend({
|
|
|
30341
30351
|
iconUrl: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAFRJREFUKFOlklEKACAIQ7f7H9rQkJYFFUVfY49NiwBgcc+HABlmu/K7HQMge0SFVd8CCqU5tQlwUQ06UqYuwA7Siv/AU6U6YK3n1f7Wen7onvD6NRqqukP5oM7XCQAAAABJRU5ErkJggg==",
|
|
30342
30352
|
iconSize: [12, 12],
|
|
30343
30353
|
iconAnchor: [6, 6]
|
|
30344
|
-
})
|
|
30354
|
+
}),
|
|
30355
|
+
zIndexOffset: 9999
|
|
30345
30356
|
}).on("click", (ev) => {
|
|
30346
30357
|
this._map.removeLayerById(_leaflet_id);
|
|
30347
30358
|
_measurementLayer == null ? void 0 : _measurementLayer.clearLayers();
|