IntersectionDensityCalculation

class IntersectionDensityCalculation

Options that modify the framed route geometries based on the intersection density.

By default we frame the whole remainder of the step while the options here shrink that geometry to increase the zoom level.

Properties

Link copied to clipboard
var averageDistanceMultiplier: Double = 7.0

When enabled this multiplier can be used to adjust the size of the portion of the remaining step that's going to be selected for framing.

Link copied to clipboard
var enabled: Boolean = true

Preconditions:

Link copied to clipboard
var minimumDistanceBetweenIntersections: Double = 20.0

When enabled, this describes the minimum distance between intersections to count them as 2 instances.