Other Structures
The following structures are available globally.
-
BorderCrossingInfo
encapsulates a border crossing, specifying crossing region codes.Declaration
Swift
public struct BorderCrossing
-
Provides information about the status of the enhanced location updates generated by the map matching engine of the Navigation SDK.
See moreDeclaration
Swift
public struct MapMatchingResult
-
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
-
A
See moreRouteResponse
object that sorts routes from most optimal to least optimal and selected route index in it.Declaration
Swift
public struct IndexedRouteResponse
-
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 : Equatable
-
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 : Equatable
-
Options, which allow to modify
See moreCameraOptions.bearing
property based on information about bearing of an upcoming maneuver.Declaration
Swift
public struct BearingSmoothing : Equatable
-
Options, which allow to modify framed route geometries by appending additional coordinates after maneuver to extend the view.
See moreDeclaration
Swift
public struct GeometryFramingAfterManeuver : Equatable
-
Options, which allow to modify the framed route geometries when approaching a maneuver.
See moreDeclaration
Swift
public struct PitchNearManeuver : Equatable
-
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 : Equatable
-
Options, which are used to control what
See moreCameraOptions
parameters will be modified byNavigationViewportDataSource
inNavigationCameraState.overview
state.Declaration
Swift
public struct OverviewCameraOptions : Equatable