You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGES.md
+1
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@ Change Log
6
6
##### Breaking Changes :mega:
7
7
*`Resource.fetchImage` now returns an `ImageBitmap` instead of `Image` when supported. This allows for decoding images while fetching using `createImageBitmap` to greatly speed up texture upload and decrease frame drops when loading models with large textures. [#7579](https://github.com/AnalyticalGraphicsInc/cesium/pull/7579)
8
8
*`Cesium3DTileStyle.style` now has an empty `Object` as its default value, instead of `undefined`. [#7567](https://github.com/AnalyticalGraphicsInc/cesium/issues/7567)
9
+
* In the `Resource` class, `addQueryParameters` and `addTemplateValues` have been removed. Please use `setQueryParameters` and `setTemplateValues` instead. [#7695](https://github.com/AnalyticalGraphicsInc/cesium/issues/7695)
9
10
10
11
##### Deprecated :hourglass_flowing_sand:
11
12
*`Resource.fetchImage` now takes an options object. Use `resource.fetchImage({ preferBlob: true })` instead of `resource.fetchImage(true)`. The previous function definition will no longer work in 1.57. [#7579](https://github.com/AnalyticalGraphicsInc/cesium/pull/7579)
deprecationWarning('Resource.addQueryParameters','addQueryParameters has been deprecated and will be removed 1.45. Use setQueryParameters or appendQueryParameters instead.');
* Combines the specified object and the existing query parameters. This allows you to add many parameters at once,
621
606
* as opposed to adding them one at a time to the queryParameters property.
@@ -641,21 +626,6 @@ define([
641
626
}
642
627
};
643
628
644
-
/**
645
-
* Combines the specified object and the existing template values. This allows you to add many values at once,
646
-
* as opposed to adding them one at a time to the templateValues property. If a value is already set, it will become an array and the new value will be appended.
647
-
*
648
-
* @param {Object} template The template values
649
-
* @param {Boolean} [useAsDefault=false] If true the values will be used as the default values, so they will only be set if they are undefined.
* Returns a resource relative to the current instance. All properties remain the same as the current instance unless overridden in options.
661
631
*
@@ -899,7 +869,7 @@ define([
899
869
*/
900
870
Resource.prototype.fetchImage=function(options){
901
871
if(typeofoptions==='boolean'){
902
-
deprecationWarning('fetchImage-parameter-change','fetchImage now takes an options object in CesiumJS 1.56. Use resource.fetchImage({ preferBlob: true }) instead of resource.fetchImage(true).');
872
+
deprecationWarning('fetchImage-parameter-change','fetchImage now takes an options object in CesiumJS 1.57. Use resource.fetchImage({ preferBlob: true }) instead of resource.fetchImage(true).');
0 commit comments