new SuperMap.TransferPathParameters(options)
TransferPathParameters.js, line 5
Name | Type | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
pointsArray.<(string|SuperMap.Geometry.Point|L.Point|L.LatLng|ol.geom.Point)>
-
There are two query ways:
1. query by the start ID of the bus stop, the type of points parameter is int[], the format is [start point ID, end point ID], the ID of the bus stop is corresponding to the ID of the service provider configuration; 2. Query by the coordinate of the start point, the type of the points parameter is Point2D[], in form of [{“x”:44,”y”:39},{“x”:45,”y”:40}].
-
transferLinesArray.<SuperMap.TransferLine>
-
The available transfer lines of this segment, They are saving in SuperMap.REST.TransferSolutionResult.
Methods
-
SuperMap.TransferPathParameters.toJson(params){string}
TransferPathParameters.js, line 46 -
Transform the SuperMap.TransferPathParameters class to JSON string.
Name Type Description params
SuperMap.TransferPathParameters The TransferPathParameters class.
Returns:
Type Description string The JSON string. -
destroy()
TransferPathParameters.js, line 38 -
Disposes the resource. The property that references resource is set to null.