Modify CreditDisplay.cesiumCredit

Until Cesium 1.42 I replaced Cesium logo by another Cesium logo via

viewer.scene.frameState.creditDisplay._defaultImageCredits[0]._imageUrl = ‘Cesium_Logo_Color.svg’;

With Cesium 1.43 this does not work anymore. Is there a recommend way to change Cesium logo (we want to use Cesium logo with black text instead of white)?

The Cesium credit is accessible via

CreditDisplay.cesiumCredit

https://cesiumjs.org/Cesium/Build/Documentation/CreditDisplay.html#.cesiumCredit

Looks like this change was overlooked and left out of the changelog for the release. Here’s the PR: https://github.com/AnalyticalGraphicsInc/cesium/pull/6267