cesium-mars-op-cog 0.1.4 → 0.1.5
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/dist/index.js +2 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -422,12 +422,9 @@ var Z = class extends _.layer.BaseLayer {
|
|
|
422
422
|
await A.init(), this._cogProvider = A;
|
|
423
423
|
const t = this._map;
|
|
424
424
|
if (!t || this.isDestroy) return;
|
|
425
|
-
this._imageryLayer = t.imageryLayers.addImageryProvider(A), this._imageryLayer.alpha = this._cogAlpha, this.
|
|
425
|
+
this._imageryLayer = t.imageryLayers.addImageryProvider(A), this._imageryLayer.alpha = this._cogAlpha, this.fire("load", { target: this });
|
|
426
426
|
} catch (A) {
|
|
427
|
-
console.error("[CogMarsLayer] 初始化失败:", A)
|
|
428
|
-
target: this,
|
|
429
|
-
error: A
|
|
430
|
-
});
|
|
427
|
+
console.error("[CogMarsLayer] 初始化失败:", A);
|
|
431
428
|
}
|
|
432
429
|
})(), await this._initPromise);
|
|
433
430
|
}
|