new DistributedAnalysisView(processingUrl, options)
Usage
import { DistributedAnalysisView } from '@supermapgis/iclient-leaflet';
new DistributedAnalysisView(processingUrl, options);<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.Components.DistributedAnalysisView({paramsNames});
// 弃用的写法
L.supermap.components.distributedAnalysis(processingUrl, options);
</script>
leaflet/components/distributedanalysis/DistributedAnalysisView.js, line 14
| Name | Type | Description | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
processingUrl |
string |
分布式分析服务地址。 |
||||||||||||||||
options |
Object |
参数。
|
- Version:
- 9.1.1
Fires
Extends
DistributedAnalysisView
-> ComponentsViewBase
-> L.Control
Events
-
analysisfailed
leaflet/components/distributedanalysis/DistributedAnalysisView.js, line 355 -
分析失败后触发。
Properties:
Name Type Description errorstring 服务器返回的错误。
-
analysissucceeded
leaflet/components/distributedanalysis/DistributedAnalysisView.js, line 342 -
分析完成后触发。
Properties:
Name Type Description layerL.GeoJSON 结果图层。
namestring 结果图层名称。
-
layersremoved
leaflet/components/distributedanalysis/DistributedAnalysisView.js, line 369 -
结果图层删除后触发。
Properties:
Name Type Description layersArray.<L.GeoJSON> 被删除的结果图层。
Methods
-
inherited off(eventType, callback)
leaflet/components/ComponentsViewBase.js, line 78 -
事件关闭。
Name Type Description eventTypestring 监听的事件名。
callbackfunction 监听事件的回调函数。
-
inherited on(eventType, callback)
leaflet/components/ComponentsViewBase.js, line 68 -
事件绑定。
Name Type Description eventTypestring 监听的事件类型。
callbackfunction 监听事件的回调函数。