@nextgis/leaflet-map-adapter 2.2.1 → 2.2.2
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/lib/leaflet-map-adapter.esm-browser.js +3 -2
- package/lib/leaflet-map-adapter.esm-browser.js.map +1 -1
- package/lib/leaflet-map-adapter.esm-browser.prod.js +1 -1
- package/lib/leaflet-map-adapter.esm-browser.prod.js.map +1 -1
- package/lib/leaflet-map-adapter.esm-bundler.js +3 -2
- package/lib/leaflet-map-adapter.esm-bundler.js.map +1 -1
- package/lib/leaflet-map-adapter.esm-bundler.prod.js +1 -1
- package/lib/leaflet-map-adapter.esm-bundler.prod.js.map +1 -1
- package/lib/leaflet-map-adapter.global.js +3 -2
- package/lib/leaflet-map-adapter.global.js.map +1 -1
- package/lib/leaflet-map-adapter.global.prod.js +1 -1
- package/lib/leaflet-map-adapter.global.prod.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/leaflet-map-adapter; version: 2.2.
|
|
1
|
+
/** Bundle of @nextgis/leaflet-map-adapter; version: 2.2.2; author: NextGIS */
|
|
2
2
|
var domain;
|
|
3
3
|
|
|
4
4
|
// This constructor is used to store event handlers. Instantiating this is
|
|
@@ -15797,9 +15797,10 @@ class ImageOverlay extends leafletSrcExports.ImageOverlay {
|
|
|
15797
15797
|
super._initImage();
|
|
15798
15798
|
const headers = this.options.headers;
|
|
15799
15799
|
const img = this._image;
|
|
15800
|
+
const src = img.src;
|
|
15800
15801
|
img.src = "";
|
|
15801
15802
|
imageQueue$1.add(() => {
|
|
15802
|
-
const [promise, abortFunc] = callAjax(
|
|
15803
|
+
const [promise, abortFunc] = callAjax(src, headers);
|
|
15803
15804
|
promise.then((imgUrl) => {
|
|
15804
15805
|
img.src = imgUrl;
|
|
15805
15806
|
});
|