I sucessfully added a static default credit with this code :
viewer.scene.frameState.creditDisplay.addDefaultCredit(new Cesium.Credit({text:'my credit text"}));
Now I would like to add a custom static credit in the "Data Attribution" box next to the default credit (this credit is not related to a terrain or imagery provider or loaded 3D Data).
I tried simply with this code :
viewer.scene.frameState.creditDisplay.addCredit(new Cesium.Credit({text:'my other credit text"}));
But nothing happens. Not even an error. It's probably a stupid question, but I still can't find an answer.
Thanks for your help!
showOnScreen
If true, the credit will be visible in the main credit container. Otherwise, it will appear in a popover