Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit 7cff3df

Browse files
author
黄俐
committed
build: update package.json
1 parent 0055d06 commit 7cff3df

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

dist/4326.png

82.3 KB
Loading

dist/mapbox-gl-static-image-source.es.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1172,6 +1172,7 @@ class StaticImageSource extends EventTarget {
11721172
this._options = options;
11731173
this._projection = get(options.projection);
11741174
this._imageExtent = options.imageExtent;
1175+
this._imageState = ImageState$1.IDLE;
11751176
this._initCoordinates();
11761177
this._loadImage();
11771178
}
@@ -1199,7 +1200,7 @@ class StaticImageSource extends EventTarget {
11991200
this._handleImageError();
12001201
});
12011202
}
1202-
this._imageState = ImageState$1.IDLE;
1203+
this._imageState = ImageState$1.LOADING;
12031204
this._image = image;
12041205
}
12051206
_handleImageLoad() {

0 commit comments

Comments
 (0)