InfoBoxViewModel

new Cesium.InfoBoxViewModel()

视图模型 InfoBox.

Members

获取当用户单击相机图标时触发的 Event
Gets the SVG path of the camera icon, which can change to be "crossed out" or not.
获取在用户关闭信息框时触发的 Event
获取或设置description信息框的HTML格式。
获取或设置是否启用摄像机跟踪图标。
获取或设置所选对象的当前摄像机跟踪状态。
获取或设置信息框的最大高度,以像素为单位. 这个属性是可观察的。
获取或设置信息框的可见性。
获取或设置title 信息框中的文本。

Methods

maxHeightOffset(offset)string

以CSS-ready格式获取信息框内各节的最大高度(减去偏移量)。
Name Type Description
offset number 以像素为单位的偏移量。
Returns:
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.