Other Structures
The following structures are available globally.
-
BorderCrossingInfo
encapsulates a border crossing, specifying crossing region codes.Declaration
Swift
public struct BorderCrossing
-
Defines options for emitting
See moreNotification.Name.electronicHorizonDidUpdatePosition
,Notification.Name.electronicHorizonDidEnterRoadObject
, andNotification.Name.electronicHorizonDidExitRoadObject
notifications while aRouteController
orPassiveLocationDataSource
is active.Declaration
Swift
public struct ElectronicHorizonOptions
-
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
-
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
-
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 moreRouteAlert
encapsulates 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 viaalert
property.Declaration
Swift
public struct RouteAlert
-
Options for configuring how map and navigation tiles are stored on the device.
This struct encapsulates logic for handling
See moredefault
andcustom
paths as well as providing correspondingTileStore
s. It also covers differences between tile storages for Map and Navigation data. Tupically, you won’t need to configure these and rely on defaults, unless you provide pre-downloaded data withing your app in which case you’ll needcustom()
path to point to your data.Declaration
Swift
public struct TileStoreConfiguration
-
See moreTunnel
is used for naming incoming tunnels, together with route alerts.Declaration
Swift
public struct Tunnel
-
Options, which are used to control what
See moreCameraOptions
parameters will be modified byNavigationViewportDataSource
inNavigationCameraState.following
state.Declaration
Swift
public struct FollowingCameraOptions
-
Options, which allow to modify the framed route geometries based on the intersection density.
By default the whole remainder of the step is framed, while
See moreIntersectionDensity
options shrink that geometry to increase the zoom level.Declaration
Swift
public struct IntersectionDensity
-
Options, which allow to modify
See moreCameraOptions.bearing
property based on information about bearing of an upcoming maneuver.Declaration
Swift
public struct BearingSmoothing
-
Options, which allow to modify framed route geometries by appending additional coordinates after maneuver to extend the view.
See moreDeclaration
Swift
public struct GeometryFramingAfterManeuver
-
Options, which allow to modify the framed route geometries when approaching a maneuver.
See moreDeclaration
Swift
public struct PitchNearManeuver
-
Options, which give the ability to control whether certain
See moreCameraOptions
will be generated byNavigationViewportDataSource
or can be provided by user directly.Declaration
Swift
public struct NavigationViewportDataSourceOptions
-
Options, which are used to control what
See moreCameraOptions
parameters will be modified byNavigationViewportDataSource
inNavigationCameraState.overview
state.Declaration
Swift
public struct OverviewCameraOptions