L.supermap.networkAnalyst3DService(url, options)
Name | Type | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
url |
string |
he url of service. The url should be: |
||||||||||||||||||||||||
options |
Object |
The optional parameters.
|
Example
L.supermap.networkAnalyst3DService(url)
.sinksFacilityAnalyst(params,function(result){
//doSomething
})
Extends
Events
-
inherited destroy
ServiceBase.js, line 49 -
Triggered after the resource is successfully released.
Properties:
Name Type Description this
L.supermap.ServiceBase This object.
-
inherited initialized
ServiceBase.js, line 36 -
Triggered after the constructor is constructed successfully.
Properties:
Name Type Description this
L.supermap.ServiceBase This object.
Methods
-
inherited destroy()
ServiceBase.js, line 44 -
Disposes the resource. The property that references resource is set to null.
-
sinksFacilityAnalyst(params, callback)
NetworkAnalyst3DService.js, line 37 -
Analyse the sinks facility.
Name Type Description params
SuperMap.FacilityAnalystSinks3DParameters The FacilityAnalystSinks3DParameters class.
callback
RequestCallback The callback of result data returned by the server side.
-
sourcesFacilityAnalyst(params, callback){this}
NetworkAnalyst3DService.js, line 58 -
Analyse the source facility.
Name Type Description params
SuperMap.FacilityAnalystSources3DParameters The FacilityAnalystSources3DParameters class.
callback
RequestCallback The callback of result data returned by the server side.
Returns:
Type Description this this -
traceDownFacilityAnalyst(params, callback)
NetworkAnalyst3DService.js, line 102 -
Trace downstream facility.
Name Type Description params
SuperMap.FacilityAnalystTracedown3DParameters The FacilityAnalystTracedown3DParameters class.
callback
RequestCallback The callback of result data returned by the server side.
-
traceUpFacilityAnalyst(params, callback){this}
NetworkAnalyst3DService.js, line 80 -
Trace upstream facility.
Name Type Description params
SuperMap.FacilityAnalystTraceup3DParameters The FacilityAnalystTraceup3DParameters class.
callback
RequestCallback The callback of result data returned by the server side.
Returns:
Type Description this this -
upstreamFacilityAnalyst(params, callback)
NetworkAnalyst3DService.js, line 123 -
Trace upstream key facility.
Name Type Description params
SuperMap.FacilityAnalystUpstream3DParameters The FacilityAnalystUpstream3DParameters class.
callback
RequestCallback The callback of result data returned by the server side.