L.supermap.networkAnalyst3DService(url, options)
leaflet/services/NetworkAnalyst3DService.js, line 9
Name | Type | Description |
---|---|---|
url |
string |
网络分析服务地址。请求网络分析服务,URL应为: |
options |
Object |
服务所需可选参数 |
Example
L.supermap.networkAnalyst3DService(url)
.sinksFacilityAnalyst(params,function(result){
//doSomething
})
Extends
Methods
-
inherited destroy()
leaflet/services/ServiceBase.js, line 30 -
释放资源,将引用的资源属性置空。
-
sinksFacilityAnalyst(params, callback)
leaflet/services/NetworkAnalyst3DService.js, line 28 -
汇查找服务
Name Type Description params
SuperMap.FacilityAnalystSinks3DParameters 最近设施分析参数类(汇查找资源)
callback
function 回调函数
-
sourcesFacilityAnalyst(params, callback){this}
leaflet/services/NetworkAnalyst3DService.js, line 47 -
源查找服务
Name Type Description params
SuperMap.FacilityAnalystSources3DParameters 最近设施分析参数类(源查找服务)
callback
function 回调函数
Returns:
Type Description this this -
traceDownFacilityAnalyst(params, callback)
leaflet/services/NetworkAnalyst3DService.js, line 87 -
下游追踪资源服务
Name Type Description params
SuperMap.FacilityAnalystTracedown3DParameters 下游追踪资源服务参数类
callback
function 回调函数
-
traceUpFacilityAnalyst(params, callback){this}
leaflet/services/NetworkAnalyst3DService.js, line 67 -
上游追踪资源服务
Name Type Description params
SuperMap.FacilityAnalystTraceup3DParameters 上游追踪资源参数类
callback
function 回调函数
Returns:
Type Description this this -
upstreamFacilityAnalyst(params, callback)
leaflet/services/NetworkAnalyst3DService.js, line 106 -
上游关键设施查找服务
Name Type Description params
SuperMap.FacilityAnalystUpstream3DParameters 上游关键设施查找服务参数类
callback
function 回调函数