Skip to content

Commit

Permalink
improve the raster layer
Browse files Browse the repository at this point in the history
  • Loading branch information
cavencj committed Feb 5, 2024
1 parent 6f14aef commit 34369c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/layer/Layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class Layer {
this._viewer.scene.primitives.remove(this._delegate)
}
} else if (this._delegate instanceof Cesium.ImageryLayer) {
this._viewer.imageryLayers.remove(this._delegate)
this._viewer.imageryLayers.remove(this._delegate, false)
} else if (this._delegate instanceof Promise) {
this._delegate.then((dataSource) => {
dataSource.entities.removeAll()
Expand Down

0 comments on commit 34369c5

Please sign in to comment.