ZoomTool

ZoomTool

缩放工具

Constructor

new ZoomTool(viewer, opt)

Parameters:
Name Type Description
viewer Cesium.Viewer 地图viewer对象
opt Object 基础配置
Properties
Name Type Description
step Object 缩放步长

Members

position

Properties:
Name Type Description
position Cesium.Cartesian3 相机位置

step

Properties:
Name Type Description
step Number 缩放步长

Methods

backward()

Description:
  • 向后移动

forward()

Description:
  • 向前移动