Class: TrafficTransferAnalystService

mapboxgl.supermap.TrafficTransferAnalystService

The TrafficTransferAnalystService class.

new mapboxgl.supermap.TrafficTransferAnalystService(url, option)

TrafficTransferAnalystService.js, line 7
Name Type Default Description
url string

The url of service.

option Object

The optional parameters.

options.proxy string optional

Service agent address.

options.withCredentials boolean false optional

Request whether to carry a cookie.

options.serverType SuperMap.ServerType SuperMap.ServerType.ISERVER optional

Type of server iServer|iPortal|online。

options.crossOrigin boolean optional

Whether to allow cross-domain requests.

options.headers Object optional

Request header.

Example
new mapboxgl.supermap.TrafficTransferAnalystService(url)
 .queryStop(params,function(result){
     //doSomething
})

Extends

Events

inherited initialized

ServiceBase.js, line 23

Triggered after the constructor construct succeeds.

Properties:
Name Type Description
this Object

This object.

Methods

analysisTransferPath(params, callback)

TrafficTransferAnalystService.js, line 52

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 73

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.

queryStop(params, callback)

TrafficTransferAnalystService.js, line 31

Query the stop.

Name Type Description
params SuperMap.StopQueryParameters

The StopQueryParameters class.

callback RequestCallback

The callback of result data returned by the server side.