SelectionIndicator

new Cesium.SelectionIndicator(container, scene)

用于在选中对象上显示指示器的 widget。
Name Type Description
container Element | string 将包含该 widget 的 DOM 元素或 ID。
scene Scene 要使用的 Scene 实例。
Throws:
  • DeveloperError :文档中不存在 id 为 "container" 的元素。

Members

获取父容器。
获取视图模型。

Methods

销毁该 widget。如果要从布局中永久移除该 widget,应调用此方法。
Returns:
如果对象已被销毁则为 true,否则为 false。
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。