Class: TrafficTransferAnalystService

ol.supermap.TrafficTransferAnalystService

The TrafficTransferAnalystService class.

new ol.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
new ol.supermap.TrafficTransferAnalystService(url)
     .queryStop(params,function(result){
          //doSomething
     })

Extends

Methods

analysisTransferPath(params, callback)

TrafficTransferAnalystService.js, line 51

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 72

Analyse the traffic transfer path.

Name Type Description
params SuperMap.TransferSolutionParameters

The TransferPathParameters class.

callback RequestCallback

The callback of result data returned by the server side

queryStop(params, callback)

TrafficTransferAnalystService.js, line 30

Query the stop.

Name Type Description
params SuperMap.StopQueryParameters

The StopQueryParameters class.

callback RequestCallback

The callback of result data returned by the server side