Class TransitLine
Contains information about the transit line used in this step.
Implements
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class TransitLine : IMessage<TransitLine>, IEquatable<TransitLine>, IDeepCloneable<TransitLine>, IBufferMessage, IMessage
Constructors
TransitLine()
Declaration
public TransitLine()
TransitLine(TransitLine)
Declaration
public TransitLine(TransitLine other)
Parameters
Type | Name | Description |
---|---|---|
TransitLine | other |
Properties
Agencies
The transit agency (or agencies) that operates this transit line.
Declaration
public RepeatedField<TransitAgency> Agencies { get; }
Property Value
Type | Description |
---|---|
RepeatedField<TransitAgency> |
Color
The color commonly used in signage for this line. Represented in hexadecimal.
Declaration
public string Color { get; set; }
Property Value
Type | Description |
---|---|
string |
IconUri
The URI for the icon associated with this line.
Declaration
public string IconUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The full name of this transit line, For example, "8 Avenue Local".
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NameShort
The short name of this transit line. This name will normally be a line number, such as "M7" or "355".
Declaration
public string NameShort { get; set; }
Property Value
Type | Description |
---|---|
string |
TextColor
The color commonly used in text on signage for this line. Represented in hexadecimal.
Declaration
public string TextColor { get; set; }
Property Value
Type | Description |
---|---|
string |
Uri
the URI for this transit line as provided by the transit agency.
Declaration
public string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |
Vehicle
The type of vehicle that operates on this transit line.
Declaration
public TransitVehicle Vehicle { get; set; }
Property Value
Type | Description |
---|---|
TransitVehicle |