OverviewMap

OverviewMap

鹰眼图

Constructor

new OverviewMap(viewer, opt)

Description:
  • 鹰眼图,依赖于二维开源框架leaflet
Parameters:
Name Type Description
viewer Cesium.Viewer
opt Object
Properties
Name Type Description
style Object 鹰眼图样式
Properties
Name Type Description
height Number 鹰眼图窗口高度
width Number 鹰眼图窗口宽度
bottom Number 鹰眼图窗口bottom属性
right Number 鹰眼图窗口right属性

Methods

destroy()

Description:
  • 销毁

hide()

Description:
  • 关闭鹰眼图

setStyle(style)

Description:
  • 设置鹰眼图窗口内部矩形框样式
Parameters:
Name Type Description
style Object 样式属性

show()

Description:
  • 打开鹰眼图