Diorama
Last updated
Last updated
Property
Function
Type
Background
Background image
Actions editor:
Property > Diorama > Background
Code:
widget.content.backgroundImage
string
Movable
Allow drag pin
Actions editor:
Property > Diorama > Movable
Code:
widget.content.movable
bool
Show labels
Display text description when clicking on pin
Actions editor:
Property > Diorama > Show labels
Code:
widget.content.showLabels
bool
Min scale
Minimum scale value
Actions editor:
Property > Diorama > Min scale
Code:
widget.content.minScale
double
Max scale
Maximum scale value
Actions editor:
Property > Diorama > Max scale
Code:
widget.content.maxScale
double
Enable pan
Enable pan
Actions editor:
Property > Diorama > Enable pan
Code:
widget.content.enablePan
bool
Current label
Current label text
Actions editor:
Property > Diorama > Current label
Code:
widget.content.currentLabel
string
Current index
Current label index
Actions editor:
Property > Diorama > Current index
Code:
widget.content.currentIndex
int
Property
Function
Type
Image
Mask image
Actions editor:
Property > Diorama > Mask > Image
Code:
widget.content.mapMask
string
Width
Mask width
Actions editor:
Property > Diorama > Mask > Width
Code:
widget.content.mapWidth
double
Height
Mask height
Actions editor:
Property > Diorama > Mask > Height
Code:
widget.content.mapHeight
double
Border
Mask border size
Actions editor:
Property > Diorama > Mask > Border
Code:
widget.content.mapBorderSize
int
Radius
Mask radius
Actions editor:
Property > Diorama > Mask > Radius
Code:
widget.content.mapRadius
int
Property
Function
Center on point
Actions editor:
Actions > Common > Center on point
Code:
widget.content.script.actionCenterOnPoint(double x, double y)
Show label
Actions editor:
Actions > Common > Show label
Code:
widget.content.script.actionCenterOnItem(int index)
Zoom
Actions editor:
Actions > Common > Zoom
Code:
widget.content.script.actionZoom(int zoom)
Unselect All
Actions editor:
Actions > Common > Unselect All
Code:
widget.content.script.actionUnselectAll()
Property
Function
Item index
Event when pin is clicked
Actions editor:
Event > Item index
Code:
widget.content.script.eventItemClicked()