new WebPrintingJobLayers(option)
Usage
import { WebPrintingJobLayers } from '@supermapgis/iclient-leaflet';
new WebPrintingJobLayers(option);<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.WebPrintingJobLayers({paramsNames});
// 弃用的写法
new SuperMap.WebPrintingJobLayers(option);
</script>
common/iServer/WebPrintingJobLayers.js, line 6
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
option |
Object |
参数。
|
- Version:
- 10.1.0
API Relations
As constructor parameter:
WebPrintingJobLegendOptions
, WebPrintingJobLittleMapOptions.
Members
-
layerTypestring
-
图层类型。
-
namestring
-
图层名称。
-
urlstring
-
图层 URL 地址。
Methods
-
destroy()
common/iServer/WebPrintingJobLayers.js, line 40 -
释放资源,将引用资源的属性置空。