InfoBoxViewModel

new Cesium.InfoBoxViewModel()

The view model for InfoBox.

Members

Gets an Event that is fired when the user clicks the camera icon.
Gets the SVG path of the camera icon, which can change to be "crossed out" or not.
Gets an Event that is fired when the user closes the info box.
Gets or sets the description HTML for the info box.
Gets or sets whether the camera tracking icon is enabled.
Gets or sets the status of current camera tracking of the selected object.
Gets or sets the maximum height of the info box in pixels. This property is observable.
Gets or sets the visibility of the info box.
Gets or sets the title text in the info box.

Methods

maxHeightOffset(offset)string

Gets the maximum height of sections within the info box, minus an offset, in CSS-ready form.
Name Type Description
offset number The offset in pixels.
Returns:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.