Geometry Simplification
class GeometrySimplification
Content copied to clipboard
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.
Functions
Properties
enabled
Link copied to clipboard
Preconditions:
a route is provided via MapboxNavigationViewportDataSource.onRouteChanged
true
, the frames generated for overview will use a simplified route geometry.simplificationFactor
Link copied to clipboard