-NT=0=- 翻译: 导航帮助按钮是用于显示指令的单个按钮部件 navigating the globe with the mouse.


Name Type Description
options object 下列属性的对象 :
Name Type Default Description
container Element | string The DOM element or ID that will contain the widget.
instructionsInitiallyVisible boolean false optional True if the navigation instructions should initially be visible; otherwise, false.
Throws:
  • DeveloperError : Element with id "container" does not exist in the document.
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

container : Element

得到母容器.
获得观音模型.

Methods

destroy()

摧毁部件。 如果永久调用, 应该调用 从布局中删除部件 .

isDestroyed()boolean

Returns:
如果物体已被销毁, 则真实无误 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.