Class TransitAgency
Represents a transit agency.
Implements
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class TransitAgency : IMessage<TransitAgency>, IEquatable<TransitAgency>, IDeepCloneable<TransitAgency>, IBufferMessage, IMessage
Constructors
TransitAgency()
Declaration
public TransitAgency()
TransitAgency(TransitAgency)
Declaration
public TransitAgency(TransitAgency other)
Parameters
| Type | Name | Description |
|---|---|---|
| TransitAgency | other |
Properties
DisplayName
Agency name (e.g. "VTA") in the requested language.
Declaration
public LocalizedText DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalizedText |
FareUrl
The URL of the agency's fare details page.
Declaration
public string FareUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Icon
Icon identifier for localized branded icon of a transit system (e.g. London Underground) which should be used instead of TransitLine.vehicle_icon in the UI.
Declaration
public TransitIcon Icon { get; set; }
Property Value
| Type | Description |
|---|---|
| TransitIcon |
Lines
The transit lines that are served by this agency.
Declaration
public RepeatedField<TransitLine> Lines { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<TransitLine> |
Url
The URL of the agency's homepage.
Declaration
public string Url { get; set; }
Property Value
| Type | Description |
|---|---|
| string |