Package com.google.maps.model
Class TransitLine
- java.lang.Object
-
- com.google.maps.model.TransitLine
-
- All Implemented Interfaces:
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.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description TransitAgency[]
agencies
Information about the operator(s) of this transit line.java.lang.String
color
The color commonly used in signage for this transit line.java.lang.String
icon
The URL for the icon associated with this transit line.java.lang.String
name
The full name of this transit line.java.lang.String
shortName
The short name of this transit line.java.lang.String
textColor
The color of text commonly used for signage of this transit line.java.lang.String
url
The URL for this transit line as provided by the transit agency.Vehicle
vehicle
The type of vehicle used on this transit line.
-
Constructor Summary
Constructors Constructor Description TransitLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
name
public java.lang.String name
The full name of this transit line. E.g."7 Avenue Express"
.
-
shortName
public java.lang.String shortName
The short name of this transit line. This will normally be a line number, such as"M7"
or"355"
.
-
color
public java.lang.String color
The color commonly used in signage for this transit line. The color will be specified as a hex string, such as"#FF0033"
.
-
agencies
public TransitAgency[] agencies
Information about the operator(s) of this transit line.
-
url
public java.lang.String url
The URL for this transit line as provided by the transit agency.
-
icon
public java.lang.String icon
The URL for the icon associated with this transit line.
-
textColor
public java.lang.String textColor
The color of text commonly used for signage of this transit line. The color will be specified as a hex string, such as"#FF0033"
.
-
vehicle
public Vehicle vehicle
The type of vehicle used on this transit line.
-
-