-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated properties from the adding of the Resource class #6119
Comments
Remove `loadArrayBuffer`, `loadBlob`, `loadImage`, `loadJson`, `loadJsonp`, `loadText`, `loadXML` and `loadWithXhr` have been removed. Please use the equivalent `fetch` functions on the `Resource` class. Remove `proxy`, `headers` and `query` parameters from all the fuctions that take a `Resource`. Fixes #6119
@tfili you closed this but createOpenStreetMapImageryProvider still takes a |
@thw0rted Just looking at it quickly, I think it should work if you pass a |
Looks like somebody beat you to it in #8079. Maybe @ProjectBarks would like to update the docs to match the fixes he made? I'll drop a comment there. |
Remove functions:
loadImage
loadArrayBuffer
loadblob
loadImageViaBlob
loadJson
loadJsonp
loadText
loadWithXhr
loadXML
Removed deprecation of parameters:
loadCRN
loadKTX
ArcGisMapServerImageryProvider
BingMapsImageryProvider
GoogleEarthEnterpriseMapsProvider
GoogleEarthEnterpriseImageryProvider
MapboxImageryProvider
SingleTileImageryProvider
UrlTemplateImageryProvider
WebMapServiceImageryProvider
WebMapTileServiceImageryProvider
createOpenStreetMapImageryProvider
createTileMapServiceImageryProvider
ImageryProvider
CesiumTerrainProvider
GoogleEarthEnterpriseTerrainProvider
GoogleEarthEnterpriseMetadata
Model
Cesium3DTileset
CzmlDataSource
KmlDataSource
Resource
class cleanuploadImage
method -allowCrossOrigin
parameter.createIfNeeded
method can probably have the options parameter removed. It was there to more easily handle URL strings with a bunch of options specified to the parent classes instead of the to theResource
. Removing all these deprecated properties should remove the need for it.load*
functions to the specs for theResource
class.The text was updated successfully, but these errors were encountered: