NavigationHelpButton

The NavigationHelpButton is a single button widget for displaying instructions for navigating the globe with the mouse.


Name Type Description
options Object 具有以下属性的对象:
Name Type Default Description
container Element | String 将包含小部件的DOM元素或ID。
instructionsInitiallyVisible Boolean false optional 如果导航说明最初应该可见,则为True;否则为false。
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>

var navigationHelpButton = new Cesium.NavigationHelpButton({
    container : 'navigationHelpButtonContainer'
});

Members

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

Methods

销毁小部件。如果是永久性的 正在从布局中删除小部件。
Returns:
如果对象已被销毁,则为true,否则为false。