查阅Cesium API

截图

参数描述:
名称 类型 描述
viewer Viewer 地图视图
cesium Cesium Cesium对象
Author:
  • 张丹钊

方法

截图

createScreenshot(type)

参数描述:
名称 类型 默认值 描述
type String 'png' 可选 图片类型
创建截图对比

createScreenshotCompared(title, layer)

参数描述:
名称 类型 默认值 描述
title String '截图对比' 可选 弹窗标题
layer layuiLayer layuiLayer对象,可选