diff --git a/CHANGES.md b/CHANGES.md index 7239383a29d..7ab5c50f40a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -7,6 +7,7 @@ ##### Fixes :wrench: - Fixed error when resetting `Cesium3DTileset.modelMatrix` to its initial value. [#12409](https://github.com/CesiumGS/cesium/pull/12409) +- Fixed type of `ImageryLayer.fromProviderAsync`, to correctly show that the param `options` is optional. [#12400](https://github.com/CesiumGS/cesium/pull/12400) ### 1.125 - 2025-01-02 diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index d543f4adbf3..060d5e49f90 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -419,4 +419,5 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu - [Kirn Kim](https://github.com/squrki) - [Emanuele Mastaglia](https://github.com/Masty88) - [Connor Manning](https://github.com/connormanning) +- [Nick Crews](https://github.com/NickCrews) - [胡文康](https://github.com/XiaoHu1994) diff --git a/packages/engine/Source/Scene/ImageryLayer.js b/packages/engine/Source/Scene/ImageryLayer.js index 89768606440..b2a72c71ada 100644 --- a/packages/engine/Source/Scene/ImageryLayer.js +++ b/packages/engine/Source/Scene/ImageryLayer.js @@ -511,7 +511,7 @@ ImageryLayer.DEFAULT_APPLY_COLOR_TO_ALPHA_THRESHOLD = 0.004; * Create a new imagery layer from an asynchronous imagery provider. The layer will handle any asynchronous loads or errors, and begin rendering the imagery layer once ready. * * @param {Promise} imageryProviderPromise A promise which resolves to a imagery provider - * @param {ImageryLayer.ConstructorOptions} options An object describing initialization options + * @param {ImageryLayer.ConstructorOptions} [options] An object describing initialization options * @returns {ImageryLayer} The created imagery layer. * * @example