Credentials contain data related to attribution/credentials of how something is displayed on the screen.
Name | Type | Default | Description |
---|---|---|---|
html |
String | optional A string representing a snippet of html code. | |
showOnScreen |
Boolean |
false
|
optional If true, the credential will be visible in the main credential, otherwise it will appear in a popup. |
Throws:
-
DeveloperError : html is required.
Example:
//Create a credit with a tooltip, image and link
Members
-
get credential element
-
Credential content
-
Whether the certificate should be displayed on the screen or in a pop-up window.
Methods
-
staticSuperMap3D.Credit.clone(credit) → Credit
-
copy credential instance
Name Type Description credit
Credit optional Credentials to copy. Returns:
The new credential instance is a duplicate of the one provided. (returns undefined if credential is undefined) -
Returns true if the credentials are equal
Name Type Description left
Credit first certificate on the left right
Credit the second certificate from the right Returns:
Returns true if left and right are equal, otherwise returns false -
Returns true if the credentials are equal
Name Type Description Credit
Credit Comparison between certificates Returns:
Returns true if left and right are equal, otherwise returns false