PopupTooltipTool

PopupTooltipTool

弹窗类

Constructor

new PopupTooltipTool(viewer)

Example
let popupTooltip = new PopupTooltipTool(viewer);
    popupTooltip.autoBindTooltip();
    popupTooltip.autoBindPopup();
Parameters:
Name Type Description
viewer Cesium.Viewer

Members

toolOpen

Properties:
Name Type Attributes Default Description
toolOpen Boolean <optional>
true 是否开启弹窗工具

Methods

autoBindPopup()

Description:
  • 绑定点击弹出气泡窗

autoBindTooltip()

Description:
  • 绑定鼠标移入气泡窗

close()

Description:
  • 关闭弹窗

open()

Description:
  • 打开弹窗