RoadObjectDistanceInfo
public struct RoadObjectDistanceInfo
Information about distances related to a road object
-
Distance along the road graph from current position to entry point of object in meters, if already “within” object will be equal to zero
Declaration
Swift
public let distanceToEntry: CLLocationDistance
-
Distance along the road graph from current position to end of road object
Declaration
Swift
public let distanceToEnd: CLLocationDistance
-
If we enter road object from it’s start, if already “within” object - always false
Declaration
Swift
public let isEntryFromStart: Bool
-
Length of “long” objects
Declaration
Swift
public let length: CLLocationDistance?
-
Type of road object
Declaration
Swift
public let type: RoadObjectType