Image
A flat image.
Imageâ
A two dimensional image from a URL.

Editorâ

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