new WebPrintingJobImage(option)
Usage
import { WebPrintingJobImage } from '@supermapgis/iclient-ol';
new WebPrintingJobImage(option);<script type="text/javascript" src="https://iclient.supermap.io/dist/openlayers/iclient-ol.js"></script>
<script>
new ol.supermap.WebPrintingJobImage({paramsNames});
// 弃用的写法
new SuperMap.WebPrintingJobImage(option);
</script>
common/iServer/WebPrintingJobImage.js, line 6
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
option |
Object |
参数。
|
- Version:
- 10.1.0
API Relations
As constructor parameter:
WebPrintingJobLittleMapOptions.
Members
-
picAsBase64string
-
小地图的 Base64 位图片信息。
-
picAsUrlstring
-
小地图的图片 URL 地址。
Methods
-
destroy()
common/iServer/WebPrintingJobImage.js, line 34 -
释放资源,将引用资源的属性置空。
-
toJSON(){string}
common/iServer/WebPrintingJobImage.js, line 43 -
将 WebPrintingJobImage 对象转化为 JSON 字符串。
Returns:
Type Description string 转换后的 JSON 字符串。