Other Structures
The following structures are available globally.
-
BorderCrossingInfoencapsulates a border crossing, specifying crossing region codes.Declaration
Swift
public struct BorderCrossing -
An electronic horizon is a probable path (or paths) of a vehicle within the routing graph. This structure contains metadata about the underlying edges of the graph for a certain distance in front of the vehicle, thus extending the user’s perspective beyond the “visible” horizon as the vehicle’s position and trajectory change.
During active turn-by-turn navigation, the user-selected route and its metadata influence the path of the electronic horizon determined by
RouteController. During passive navigation (free-driving), no route is actively selected, soPassiveLocationDataSourcewill determine the most probable path from the vehicle’s current location. You can receive notifications about changes in the current state of the electronic horizon by observing theNotification.Name.electronicHorizonDidUpdatePosition,Notification.Name.electronicHorizonDidEnterRoadObject, andNotification.Name.electronicHorizonDidExitRoadObjectnotifications.The road network ahead of the user is represented as a tree of edges. Each intersection has outlet edges. In turn, each edge has a probability of transition to another edge, as well as details about the road segment that the edge traverses. You can use these details to influence application behavior based on predicted upcoming conditions.
See moreDeclaration
Swift
public struct ElectronicHorizon -
Defines options for emitting
See moreNotification.Name.electronicHorizonDidUpdatePosition,Notification.Name.electronicHorizonDidEnterRoadObject, andNotification.Name.electronicHorizonDidExitRoadObjectnotifications while aRouteControllerorPassiveLocationDataSourceis active.Declaration
Swift
public struct ElectronicHorizonOptions -
Information about distances related to a road object
See moreDeclaration
Swift
public struct RoadObjectDistanceInfo -
Represents location of road object on road graph.
A point object is represented by a single edge whose location has the same
See morefractionFromStartandfractionToEnd.Declaration
Swift
public struct RoadObjectEdgeLocation -
Specifies the content that a predictive cache fetches and how it fetches the content.
Pass an instance of this class into the
See moreNavigationOptions(styles:navigationService:voiceController:topBanner:bottomBanner:predictiveCacheOptions:)initializer orNavigationMapView.enablePredictiveCaching(options:)method.Declaration
Swift
public struct PredictiveCacheOptions -
See moreRouteAlertencapsulates information about various incoming events. Common attributes like location, distance to the event, length and other is provided for each POI, while specific meta data is supplied viaalertproperty.Declaration
Swift
public struct RouteAlert -
See moreTunnelis used for naming incoming tunnels, together with route alerts.Declaration
Swift
public struct Tunnel
Install in Dash
Other Structures Reference