Class: TransferLine

SuperMap.TransferLine

Transfer line information class.

new SuperMap.TransferLine(options)

TransferLine.js, line 4
Name Type Description
options Object

The parameters.

Name Type Description
lineID number

Transfer line name.

lineName string

The name of the transfer route.

lineAliasName string

The alias of the transfer route.

startStopIndex number

The index of the stop for getting on in the bus route.

startStopName string

The name of the stop for getting on.

startStopAliasName string

The alias of the stop for getting on.

endStopIndex number

The index of the stop for getting off in the bus route.

endStopName string

The name of the stop for getting off.

endStopAliasName string

The alias of the stop for getting off.

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.