new Credit
A credit contains data pertaining to how to display attributions/credits for certain content on the screen.
Parameters:
| Name | Type | Argument | Default | Description | 
|---|---|---|---|---|
| text | String | <optional> | undefined | The text to be displayed on the screen if no imageUrl is specified. | 
| imageUrl | String | <optional> | undefined | The source location for an image | 
| link | String | <optional> | undefined | A URL location for which the credit will be hyperlinked | 
Example
 //Create a credit with a tooltip, image and link
 var credit = new Cesium.Credit('Cesium', '/images/cesium_logo.png', 'http://cesiumjs.org/');
    
	
	
Source:
Members
- 
    imageUrl :String
- 
    
    The source location for the image.
- 
    link :String
- 
    
    A URL location for the credit hyperlink
- 
    text :String
- 
    
    The credit text
Methods
- 
    equals
- 
    
    
    Returns true if the credits are equal Parameters:Name Type Description creditsCredit The credit to compare to. Returns:Booleantrueif left and right are equal,falseotherwise.
- 
    <static> equals
- 
    
    
    Returns true if the credits are equal Parameters:Name Type Description leftCredit The first credit leftCredit The second credit Returns:Booleantrueif left and right are equal,falseotherwise.
- 
    <static> prototype.hasImage
- 
    
    
    Returns true if the credit has an imageUrl Returns:
- 
    <static> prototype.hasLink
- 
    
    
    Returns true if the credit has a link Returns:
