new SuperMap.TransferLine(options)
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
The parameters.
|
Members
-
endStopAliasNamestring
-
The alias of the stop for getting off.
-
endStopIndexnumber
-
The index of the stop for getting off in the bus route.
-
endStopNamestring
-
The name of the stop for getting off.
-
lineAliasNamestring
-
The alias of the transfer route.
-
lineIDnumber
-
Transfer line name.
-
lineNamestring
-
The name of the transfer route.
-
startStopAliasNamestring
-
The alias of the stop for getting on.
-
startStopIndexnumber
-
The index of the stop for getting on in the bus route.
-
startStopNamestring
-
The name of the stop for getting on.
Methods
-
SuperMap.TransferLine.fromJson(jsonObject){SuperMap.TransferLine}
TransferLine.js, line 91 -
Convert the returned result to a SuperMap.TransferLine object.
Name Type Description jsonObject
Object New return results.
Returns:
Type Description SuperMap.TransferLine Converted SuperMap.TransferLine object. -
destroy()
TransferLine.js, line 83 -
Disposes the resource. The property that references resource is set to null.