EarthSDK
官网
对象索引
详细搜索
正在准备搜索索引...
earthsdk3-ol
capture
函数 capture
capture
(
map
:
Map
,
width_
?:
number
,
height_
?:
number
,
fileName
?:
string
,
scale
?:
number
,
)
:
Promise
<
string
>
捕获OpenLayers地图截图
参数
map
:
Map
OpenLayers地图实例
width_
:
number
= 128
height_
:
number
= 128
fileName
:
string
= 'map'
scale
:
number
= 1
返回
Promise
<
string
>
Promise
返回Base64格式的图片数据
显示设置
成员可见性
继承
配色
自动
浅色
深色
官网
对象索引
详细搜索
EarthSDK
加载中……
捕获OpenLayers地图截图