Merge pull request #13398 from yonda-yonda/update_static_image_change_projection
Clear image when source's image is not ready
This commit is contained in:
@@ -93,6 +93,8 @@ class CanvasImageLayerRenderer extends CanvasLayerRenderer {
|
|||||||
);
|
);
|
||||||
if (image && this.loadImage(image)) {
|
if (image && this.loadImage(image)) {
|
||||||
this.image_ = image;
|
this.image_ = image;
|
||||||
|
} else {
|
||||||
|
this.image_ = null;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.image_ = null;
|
this.image_ = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user