TransitWaypoint Structure Reference
- Last UpdatedJul 15, 2025
- 1 minute read
public struct TransitWaypoint : Hashable
Represents a transit waypoint, used as input for transit route calculation.
-
The waypoint’s geographic coordinates.
Declaration
Swift
public var coordinates: GeoCoordinates
-
This parameter can be used to customize the name of the origin place and will affect the generated actions descriptions.
Declaration
Swift
public var placeName: String?
-
Creates a new instance.
Declaration
Swift
public init(coordinates: GeoCoordinates, placeName: String? = nil)