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.

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

averageDistanceMultiplier
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.
enabled
Link copied to clipboard
var enabled: Boolean = true
Preconditions:When this option is enabled and the preconditions are met, the geometry that's going to be framed for following will not match the whole remainder of the current step but a smaller subset of that geometry to make the zoom level higher.
minimumDistanceBetweenIntersections
Link copied to clipboard
var minimumDistanceBetweenIntersections: Double = 20.0
When enabled, this describes the minimum distance between intersections to count them as 2 instances.