GeometrySimplification

class GeometrySimplification

Options that impact the simplification of geometries framed for overview.

Simplifying geometries, especially for longer routes, can have a significant impact on the performance of generating frames and each MapboxNavigationViewportDataSource.evaluate calls.

Constructors

Link copied to clipboard
fun GeometrySimplification()

Properties

Link copied to clipboard
var enabled: Boolean = true

Preconditions:

Link copied to clipboard
var simplificationFactor: Int = 25

Determines how many points of each step's geometry should be removed from framing.