IntersectionDensity
public struct IntersectionDensity : 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 IntersectionDensity
options shrink
that geometry to increase the zoom level.
-
Controls whether additional coordinates after the upcoming maneuver will be framed to provide the view extension.
Defaults to
true
.Declaration
Swift
public var enabled: Bool
-
Multiplier, which will be used to adjust the size of the portion of the remaining step that’s going to be selected for framing.
Defaults to
7.0
.Declaration
Swift
public var averageDistanceMultiplier: Double
-
Minimum distance between intersections to count them as two instances.
This has an effect of filtering out intersections based on parking lot entrances, driveways and alleys from the average intersection distance.
Defaults to
20.0
meters.Declaration
Swift
public var minimumDistanceBetweenIntersections: CLLocationDistance
-
Initializes
IntersectionDensity
instance.Declaration
Swift
public init()
-
Declaration
Swift
public static func == (lhs: IntersectionDensity, rhs: IntersectionDensity) -> Bool