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
In Cesium.d.ts, some imagery providers do not satisfy ImageryProvider class type constrain.
constprovider=newArcGisMapServerImageryProvider({url: "//services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer",});constlayer=newImageryLayer(provider,{/* ... */})// ^^^^^^^^ Error!// 'ArcGisMapServerImageryProvider' type is missing the following properties from type 'ImageryProvider': defaultNightAlpha, defaultDayAlpha ts(2739)
I confirmed ArcGisMapServerImageryProvider and IonImageryProvider are so, but perhaps there are other providers that is so.
The text was updated successfully, but these errors were encountered:
Thanks @rot1024, this is already fixed in master and will go out with the 1.70.1 release later this week. See #8908 for the full details/changes if you're interested.
In
Cesium.d.ts
, some imagery providers do not satisfyImageryProvider
class type constrain.I confirmed
ArcGisMapServerImageryProvider
andIonImageryProvider
are so, but perhaps there are other providers that is so.The text was updated successfully, but these errors were encountered: