withSourceTolerance

open fun withSourceTolerance(sourceTolerance: Float): NavigationMapboxMap.Builder

Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)for the GeoJsonSources created to display the route line.Defaults to 0.375.

Return

the builder

See also

com.mapbox.mapboxsdk.style.sources.GeoJsonOptions

com.mapbox.mapboxsdk.style.sources.GeoJsonOptions#withTolerance(float)