Adding a new credit

I spent quite a bit of time trying to figure this out and went through the source to find out.

Anyone have an example of adding a new credit?


Ken J

Hello Ken,

You can add credits to the CreditDisplay on scene.frameState. Here is a code example:

viewer.scene.frameState.creditDisplay.addDefaultCredit(new Cesium.Credit(‘My New Credit’));




Thanks Hannah!