Credit
A credit contains data pertaining to how to display attributions/credits for certain content on the screen.
// Create a credit with a tooltip, image and link
const credit = new Credit('<a href="https://cesium.com/" target="_blank"><img src="/images/cesium_logo.png" style="vertical-align: -7px" title="Cesium"/></a>');
Content copied to clipboard
See also
Constructors
Properties
Link copied to clipboard
Gets the credit element
Link copied to clipboard
If true, the credit will be visible in the main credit container. Otherwise, it will appear in a popover. All credits are displayed inline
, if you have an image we recommend sizing it correctly to match the text or use css to vertical-align
it. Default value - false