NavigationHelpButton

NavigationHelpButton是一个单按钮小部件,用于显示以下方面的说明 用鼠标导航全球。


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

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

Methods

销毁小部件。如果从布局中永久删除小部件, 则应该调用。
Returns:
如果对象已被销毁,则为true,否则为false。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.