NavigationHelpButton 是一个单一按钮部件(widget),用于显示使用鼠标在地球上导航的操作说明。
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Object with the following properties:
|
Throws:
-
DeveloperError : 文档中不存在 id 为 "container" 的元素。
Example:
// In HTML head, include a link to the NavigationHelpButton.css stylesheet,
// and in the body, include: <div id="navigationHelpButtonContainer"></div>
const navigationHelpButton = new Cesium.NavigationHelpButton({
container : 'navigationHelpButtonContainer'
});
Members
获取父容器。
viewModel : NavigationHelpButtonViewModel
获取视图模型(view model)。
Methods
销毁该部件(widget)。如果要将部件从布局中永久移除,应调用此方法。
Returns:
如果对象已被销毁则为 true,否则为 false。
