Class: networkAnalyst3DService

L.supermap.networkAnalyst3DService

The NetworkAnalyst3DService class.

L.supermap.networkAnalyst3DService(url, options)

D:/iClient9_English0919/src/leaflet/services/NetworkAnalyst3DService.js, line 12
Name Type Description
url string

he url of service. The url should be:
"http://localhost:8090/iserver/services/components-rest/rest/networkanalyst/RoadNet@Changchun"。

options Object

The optional parameters.

Name Type Default Description
proxy string optional

Service agent address.

serverType SuperMap.ServerType SuperMap.ServerType.ISERVER optional

Type of server iServer|iPortal|online。

withCredentials boolean false optional

Request whether to carry a cookie.

crossOrigin boolean optional

Whether to allow cross-domain requests.

headers Object optional

Request header.

Example
L.supermap.networkAnalyst3DService(url)
 .sinksFacilityAnalyst(params,function(result){
    //doSomething
})

Extends

Events

inherited destroy

D:/iClient9_English0919/src/leaflet/services/ServiceBase.js, line 49

Triggered after the resource is successfully released.

Properties:
Name Type Description
this L.supermap.ServiceBase

This object.

inherited initialized

D:/iClient9_English0919/src/leaflet/services/ServiceBase.js, line 36

Triggered after the constructor is constructed successfully.

Properties:
Name Type Description
this L.supermap.ServiceBase

This object.

Methods

inherited destroy()

D:/iClient9_English0919/src/leaflet/services/ServiceBase.js, line 44

Disposes the resource. The property that references resource is set to null.

sinksFacilityAnalyst(params, callback)

D:/iClient9_English0919/src/leaflet/services/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}

D:/iClient9_English0919/src/leaflet/services/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)

D:/iClient9_English0919/src/leaflet/services/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}

D:/iClient9_English0919/src/leaflet/services/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)

D:/iClient9_English0919/src/leaflet/services/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.