类 TransitLine
java.lang.Object
ai.nextbillion.maps.model.TransitLine
- 所有已实现的接口:
java.io.Serializable
public class TransitLine
extends java.lang.Object
implements java.io.Serializable
The transit line used in a step.
See Transit Details for more detail.
- 另请参阅:
- 序列化表格
-
字段概要
字段 修饰符和类型 字段 说明 TransitAgency[]agenciesInformation about the operator(s) of this transit line.java.lang.StringcolorThe color commonly used in signage for this transit line.java.lang.StringiconThe URL for the icon associated with this transit line.java.lang.StringnameThe full name of this transit line.java.lang.StringshortNameThe short name of this transit line.java.lang.StringtextColorThe color of text commonly used for signage of this transit line.java.lang.StringurlThe URL for this transit line as provided by the transit agency.VehiclevehicleThe type of vehicle used on this transit line. -
构造器概要
构造器 构造器 说明 TransitLine() -
方法概要
修饰符和类型 方法 说明 java.lang.StringtoString()
-
字段详细资料
-
name
public java.lang.String nameThe full name of this transit line. E.g."7 Avenue Express". -
shortName
public java.lang.String shortNameThe short name of this transit line. This will normally be a line number, such as"M7"or"355". -
color
public java.lang.String colorThe color commonly used in signage for this transit line. The color will be specified as a hex string, such as"#FF0033". -
agencies
Information about the operator(s) of this transit line. -
url
public java.lang.String urlThe URL for this transit line as provided by the transit agency. -
icon
public java.lang.String iconThe URL for the icon associated with this transit line. -
textColor
public java.lang.String textColorThe color of text commonly used for signage of this transit line. The color will be specified as a hex string, such as"#FF0033". -
vehicle
The type of vehicle used on this transit line.
-
-
构造器详细资料
-
TransitLine
public TransitLine()
-
-
方法详细资料
-
toString
public java.lang.String toString()- 覆盖:
toString在类中java.lang.Object
-