-
Defines options for emitting
See moreNotification.Name.electronicHorizonDidUpdatePosition
,Notification.Name.electronicHorizonDidEnterRoadObject
, andNotification.Name.electronicHorizonDidExitRoadObject
notifications while aRouteController
orPassiveLocationManager
is active.Declaration
Swift
public struct ElectronicHorizonOptions
-
RoadGraph
provides methods to get edge shape (e.g.RoadGraph.Edge
) and metadata.You do not create a
See moreRoadGraph
object manually. Instead, observe theNotification.Name.electronicHorizonDidUpdatePosition
notification to obtain edge identifiers and get more details about the edges using theRouteController.roadGraph
orPassiveLocationManager.roadGraph
property.Declaration
Swift
public final class RoadGraph
-
Identifies a road object according to one of two OpenLR standards.
See moreDeclaration
Swift
public enum OpenLRIdentifier
-
Describes the relationship between the road object and the direction of a referenced line. The road object may be directed in the same direction as the line, against that direction, both directions, or the direction of the road object might be unknown.
See moreDeclaration
Swift
public enum OpenLROrientation
-
A human-readable name or route reference code that identifies a road.
See moreDeclaration
Swift
public enum RoadName
-
Describes the object on the road. There are two sources of road objects: active route and the electronic horizon.
See moreDeclaration
Swift
public struct RoadObject
-
Contains information about distance to the road object of a concrete type/shape (gantry, polygon, line, point etc.).
See moreDeclaration
Swift
public enum DistancedRoadObject
-
Provides methods for road object matching.
Matching results are delivered asynchronously via a delegate. In case of error (if there are no tiles in the cache, decoding failed, etc.) the object won’t be matched.
See moreDeclaration
Swift
final public class RoadObjectMatcher
-
The location of a road object in the road graph.
See moreDeclaration
Swift
public enum RoadObjectLocation
-
Type of the road object
See moreDeclaration
Swift
public enum RoadObjectType
-
See moreRoadObjectMatcher
delegate.Declaration
Swift
public protocol RoadObjectMatcherDelegate : AnyObject
-
Represents location of road object on road graph.
A point object is represented by a single edge whose location has the same
See morefractionFromStart
andfractionToEnd
.Declaration
Swift
public struct RoadObjectEdgeLocation
-
An error that occures during road object matching.
See moreDeclaration
Swift
public struct RoadObjectMatcherError : LocalizedError
-
Contains information about position of the point on the graph and it’s geo-position.
See moreDeclaration
Swift
public struct RoadObjectPosition
-
Identifies a road object in an electronic horizon. A road object represents a notable transition point along a road, such as a toll booth or tunnel entrance. A road object is similar to a
RouteAlert
but is more closely associated with the routing graph managed by theRoadGraph
class.Use a
RoadObjectStore
object to get more information about a road object with a given identifier or get the locations of road objects alongRoadGraph.Edge
s.Declaration
Swift
public typealias RoadObjectIdentifier = String