GetDocImageService Class

地图服务.GetDocImageService(option)

取矢量地图文档图片

Fx构造函数

# new GetDocImageService(option)

Zondy.Service.GetDocImageService 若采用动态裁切瓦片方式发布的矢量地图文档,可取指定行列号的矢量地图图片; 若采用普通方式发布的矢量地图文档,可取一定范围内的矢量地图图片,还可设置该地图文档的动态投影参考信息、显示条件、显示样式等信息

参数:
名称 类型 属性 默认值 描述
option Object

属性键值对

docName String <optional>
null

地图文档名称

cache Boolean <optional>
false

是否使用动态裁图功能

level Number <optional>
0

动态裁图的级数

row Number <optional>
0

行号

col Number <optional>
0

列号

update Boolean <optional>
false

是否更新当前瓦片

layers String <optional>
null

该参数,当cache为true时无效(仅在非动态裁图时有意义)

style Zondy.Object.CDisplayStyle <optional>
null

图文档显示样式,该参数,当cache为true时无效(仅在非动态裁图时有意义)

picType String <optional>
gif

图片的格式 jpg|png|gif。该参数,当cache为true时无效(仅在非动态裁图时有意义)

bbox String <optional>
null

图片的范围xmin,ymin,xmax,ymax。该参数,当cache为true时无效(仅在非动态裁图时有意义)

filters String <optional>
null

图层过滤条件,1:ID>4,3:ID>1。该参数,当cache为true时无效(仅在非动态裁图时有意义)

picWidth Number <optional>
512

图片的宽度。该参数,当cache为true时无效(仅在非动态裁图时有意义)

picHeight Number <optional>
512

图片的高度。该参数,当cache为true时无效(仅在非动态裁图时有意义)

proj Zondy.Service.CProjectBySRSID <optional>
null

投影参照系信息。该参数,当cache为true时无效(仅在非动态裁图时有意义)

guid String <optional>
new Guid()

唯一标识。该参数,当cache为true时无效(仅在非动态裁图时有意义)

See:

查看源代码 service/Igserver/MRMS/GetDocImageService.js, line 14