RouteProjectionOptions
public struct RouteProjectionOptions
Options used by OfflineRouteProjectionEngine to configure projection parameters.
Important
This is a Public Preview API. It may be changed or removed at any time.-
Initializer
Declaration
Swift
public init( projectionLength: Measurement<UnitLength> = .tt.kilometers(5), windowLength: Measurement<UnitLength> = .tt.kilometers(1), overlapLength: Measurement<UnitLength> = .tt.meters(200) )Parameters
projectionLengthDetermines how far ahead of the current position the route should be projected. Default value is 5 in kilometers.
windowLengthDetermines the length of one projection window.Default value is 1 in kilometers.
overlapLengthDetermines how much of the previously-projected parts should be included in the new projection.Default value is 200 in meters
-
Determines how far ahead of the current position the route should be projected.
Declaration
Swift
public let projectionLength: Measurement<UnitLength> -
Determines the length of one projection window.
Declaration
Swift
public let windowLength: Measurement<UnitLength> -
Determines how much of the previously-projected parts should be included in the new projection.
Declaration
Swift
public let overlapLength: Measurement<UnitLength>
RouteProjectionOptions Structure Reference