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