Modifier and Type | Field and Description |
---|---|
Event |
cameraClicked
Gets an Event that is fired when the user clicks the camera icon.
|
String |
cameraIconPath
Gets the SVG path of the camera icon, which can change to be "crossed out" or not.
|
Event |
closeClicked
Gets an Event that is fired when the user closes the info box.
|
String |
description
Gets or sets the description HTML for the info box.
|
boolean |
enableCamera
Gets or sets whether the camera tracking icon is enabled.
|
boolean |
isCameraTracking
Gets or sets the status of current camera tracking of the selected object.
|
double |
maxHeight
Gets or sets the maximum height of the info box in pixels.
|
boolean |
showInfo
Gets or sets the visibility of the info box.
|
String |
titleText
Gets or sets the title text in the info box.
|
Constructor and Description |
---|
InfoBoxViewModel()
The view model for
InfoBox . |
Modifier and Type | Method and Description |
---|---|
double |
maxHeightOffset(double offset)
Gets the maximum height of sections within the info box, minus an offset, in CSS-ready form.
|
@JsProperty public Event cameraClicked
@JsProperty public String cameraIconPath
@JsProperty public Event closeClicked
@JsProperty public String description
@JsProperty public boolean enableCamera
@JsProperty public boolean isCameraTracking
@JsProperty public double maxHeight
@JsProperty public boolean showInfo
@JsProperty public String titleText
@JsConstructor public InfoBoxViewModel()
InfoBox
.@JsMethod public double maxHeightOffset(double offset)
offset
- et in pixels.Copyright © 2019. All rights reserved.