InfoBox

new Cesium.InfoBox(container)

A widget for displaying information or a description.
参数名称 类型 描述信息
container Element | string The DOM element or ID that will contain the widget.
Throws:
  • DeveloperError : Element with id "container" does not exist in the document.

成员(属性)

Gets the parent container.

frame : HTMLIFrameElement

Gets the iframe used to display the description.
Gets the view model.

方法

Destroys the widget. Should be called if permanently removing the widget from layout.

isDestroyed()boolean

返回值:
true if the object has been destroyed, false otherwise.