Class: trafficTransferAnalystService

L.supermap.trafficTransferAnalystService

The TrafficTransferAnalystService class.

L.supermap.trafficTransferAnalystService(url, options)

TrafficTransferAnalystService.js, line 6
Name Type Description
url string

The url of service.

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.trafficTransferAnalystService(url).queryStop(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

analysisTransferPath(params, callback)

TrafficTransferAnalystService.js, line 49

Analyse the traffic transfer path.

Name Type Description
params SuperMap.TransferPathParameters

The TransferPathParameters class.

callback RequestCallback

The callback of result data returned by the server side.

analysisTransferSolution(params, callback)

TrafficTransferAnalystService.js, line 69

Analyse the traffic transfer solution.

Name Type Description
params SuperMap.TransferSolutionParameters

The TransferSolutionParameters class.

callback RequestCallback

The callback of result data returned by the server side.

inherited destroy()

ServiceBase.js, line 44

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

queryStop(params, callback)

TrafficTransferAnalystService.js, line 29

Query the stop.

Name Type Description
params SuperMap.StopQueryParameters

The StopQueryParameters class.

callback RequestCallback

The callback of result data returned by the server side.