CreditDisplay.addDefaultCredit can't be shown in the lightbox
See original GitHub issueCreditDisplay.addDefaultCredit doesn’t take Credit.showOnScreen into account, but CreditDisplay.addCredit does.
From the forum: https://groups.google.com/forum/#!topic/cesium-dev/3qiLgbwJCZI
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (13 by maintainers)
Top Results From Across the Web
CreditDisplay.addDefaultCredit can't be shown in the lightbox
CreditDisplay.addDefaultCredit doesn't take Credit.showOnScreen into account, but CreditDisplay.addCredit does.
Read more >Add custom credit manually in data attribution box
Hi, I sucessfully added a static default credit with this code : viewer.scene.frameState.creditDisplay.addDefaultCredit(new Cesium.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We just made the assumption that a default credit is probably something important and should always show on screen. Like I said, I don’t think it will be too hard to change it though.
Also reported by @cmcleese in https://github.com/CesiumGS/cesium/issues/10789.