A two dimensional image from a URL.
The URL of the image. Link has to start with https://...
(Optional)
; makes the image a clickable link.
This is used to determine how the image is blended with whatever is behind it. The available options are Combine
, Multiply
, and Screen
.
If ticked, any transparency in the image will be converted to black.
If ticked, the image will be stretched to fit into the target rectangular area, rather than cropped.
If ticked, the image will reload every day. This is useful, for example, if you have a rotating advertisement where the image will change.
Helps you tiles an image properly
Set whether or not the feature is a trigger.
String
; Links must be https://
and must finish with an extension such as .jpg/.gif/.png
.
feature.get('url')
// returns: "https://..."
feature.set({'url':"https://www.myurl.com/file.png"})
""
String
; Links must be https://
.
feature.get('link')
// returns: "https://..."
feature.set({'link':"https://www.myurl.com/"})
""
String
feature.get('blendMode')
// returns: 'Combine'
feature.set({'blendMode': 'Combine'})
"Multiply"
Boolean.
feature.get('updateDaily')
// returns: false
feature.set({'updateDaily': true})
false
Boolean.
feature.get('transparent')
// returns: false
feature.set({'transparent': true})
false
Boolean.
feature.get('stretched')
// returns: false
feature.set({'stretched': true})
false
Integer
feature.get('uScale')
// returns: 1
feature.set({'uScale': 1})
1
Integer
feature.get('vScale')
// returns: 1
feature.set({'vScale': 1})
1
String
;
feature.get('type')
/* or */
feature.type
// returns: 'image'