Class TransitVehicle
Information about a vehicle used in transit routes.
Implements
Namespace: Google.Maps.Routing.V2
Assembly: Google.Maps.Routing.V2.dll
Syntax
public sealed class TransitVehicle : IMessage<TransitVehicle>, IEquatable<TransitVehicle>, IDeepCloneable<TransitVehicle>, IBufferMessage, IMessage
Constructors
TransitVehicle()
Declaration
public TransitVehicle()
TransitVehicle(TransitVehicle)
Declaration
public TransitVehicle(TransitVehicle other)
Parameters
Type | Name | Description |
---|---|---|
TransitVehicle | other |
Properties
IconUri
The URI for an icon associated with this vehicle type.
Declaration
public string IconUri { get; set; }
Property Value
Type | Description |
---|---|
string |
LocalIconUri
The URI for the icon associated with this vehicle type, based on the local transport signage.
Declaration
public string LocalIconUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of this vehicle, capitalized.
Declaration
public LocalizedText Name { get; set; }
Property Value
Type | Description |
---|---|
LocalizedText |
Type
The type of vehicle used.
Declaration
public TransitVehicle.Types.TransitVehicleType Type { get; set; }
Property Value
Type | Description |
---|---|
TransitVehicle.Types.TransitVehicleType |