A credit contains data pertaining to how to display attributions/credits for certain content on the screen.
- {String} [text] The text to be displayed on the screen if no imageUrl is specified.
- {String} [imageUrl] The source location for an image
- {String} [link] A URL location for which the credit will be hyperlinked
alias Credit
Annotations
@RawJSType()@native()@JSName("Cesium.Credit")
Example:
//Create a credit with a tooltip, image and link
var credit = new Cesium.Credit('Cesium', '/images/cesium_logo.png', 'http://cesiumjs.org/');
A credit contains data pertaining to how to display attributions/credits for certain content on the screen.
- {String} [text] The text to be displayed on the screen if no imageUrl is specified. - {String} [imageUrl] The source location for an image - {String} [link] A URL location for which the credit will be hyperlinked
alias Credit
//Create a credit with a tooltip, image and link var credit = new Cesium.Credit('Cesium', '/images/cesium_logo.png', 'http://cesiumjs.org/');