Class TransitStop
Represents a transit stop within a station. This is a specific location
where passengers board and alight transit vehicles, such as a platform or
bus bay. This is distinct from a Departure, which is an event of a vehicle
leaving a stop at a specific time.
Implements
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class TransitStop : IMessage<TransitStop>, IEquatable<TransitStop>, IDeepCloneable<TransitStop>, IBufferMessage, IMessage
Constructors
TransitStop()
Declaration
public TransitStop()
TransitStop(TransitStop)
Declaration
public TransitStop(TransitStop other)
Parameters
| Type | Name | Description |
|---|---|---|
| TransitStop | other |
Properties
DisplayName
The name of the stop.
Declaration
public LocalizedText DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalizedText |
HasWheelchairAccessibleEntrance
Gets whether the "wheelchair_accessible_entrance" field is set
Declaration
public bool HasWheelchairAccessibleEntrance { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Id
The id of the transit stop that can be used to uniquely identify the stop among other transit stops in the same transit station. This identifier is not guaranteed to be stable across different responses.
Declaration
public string Id { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Location
The stop's location.
Declaration
public LatLng Location { get; set; }
Property Value
| Type | Description |
|---|---|
| LatLng |
PlatformCode
The platform code represented by this stop. It can be formatted in any way. (eg: "2", "Platform 2", "2-4", or "1x").
Declaration
public LocalizedText PlatformCode { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalizedText |
SignageText
The verbatim text written on the signboard for this platform, e.g. "Towards
Central" or "East side & Brooklyn". When platform_code is absent, this
field is potentially the only identifier for the platform; however, both
platform_code and signage_text may be set simultaneously.
Declaration
public LocalizedText SignageText { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalizedText |
StopCode
Human readable identifier of the stop, used by transit agencies to distinguish stops with the same name.
Declaration
public LocalizedText StopCode { get; set; }
Property Value
| Type | Description |
|---|---|
| LocalizedText |
WheelchairAccessibleEntrance
Wheelchair accessibility of this stop. This field indicates whether there is an accessible path from outside the station to the stop. It does not indicate whether it is possible to board a vehicle from the stop.
Declaration
public bool WheelchairAccessibleEntrance { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |