@nextgis/ngw-leaflet 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/ngw-leaflet.esm-browser.js +3 -2
- package/lib/ngw-leaflet.esm-browser.js.map +1 -1
- package/lib/ngw-leaflet.esm-browser.prod.js +1 -1
- package/lib/ngw-leaflet.esm-browser.prod.js.map +1 -1
- package/lib/ngw-leaflet.esm-bundler.js +1 -1
- package/lib/ngw-leaflet.global.js +3 -2
- package/lib/ngw-leaflet.global.js.map +1 -1
- package/lib/ngw-leaflet.global.prod.js +1 -1
- package/lib/ngw-leaflet.global.prod.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Bundle of @nextgis/ngw-leaflet; version: 2.2.
|
|
1
|
+
/** Bundle of @nextgis/ngw-leaflet; version: 2.2.2; author: NextGIS */
|
|
2
2
|
function styleInject(css, ref) {
|
|
3
3
|
if ( ref === void 0 ) ref = {};
|
|
4
4
|
var insertAt = ref.insertAt;
|
|
@@ -17016,9 +17016,10 @@ class ImageOverlay extends leafletSrcExports.ImageOverlay {
|
|
|
17016
17016
|
super._initImage();
|
|
17017
17017
|
const headers = this.options.headers;
|
|
17018
17018
|
const img = this._image;
|
|
17019
|
+
const src = img.src;
|
|
17019
17020
|
img.src = "";
|
|
17020
17021
|
imageQueue.add(() => {
|
|
17021
|
-
const [promise, abortFunc] = callAjax(
|
|
17022
|
+
const [promise, abortFunc] = callAjax(src, headers);
|
|
17022
17023
|
promise.then((imgUrl) => {
|
|
17023
17024
|
img.src = imgUrl;
|
|
17024
17025
|
});
|