Skip to content

Commit b87a7cf

Browse files
Łukasz PaczosLukasPaczos
authored andcommitted
increase max distance to route line valid to continue vanishing updates to 10m
1 parent b9edd7b commit b87a7cf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Increased max distance from the user indicator to route line valid to continue vanishing updates from 3m to 10m.

libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/route/RouteLayerConstants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ object RouteLayerConstants {
8484
internal const val RESTRICTED_CONGESTION_VALUE = "restricted"
8585
internal const val ORIGIN_MARKER_NAME = "originMarker"
8686
internal const val DESTINATION_MARKER_NAME = "destinationMarker"
87-
internal const val ROUTE_LINE_UPDATE_MAX_DISTANCE_THRESHOLD_IN_METERS = 3.0
87+
internal const val ROUTE_LINE_UPDATE_MAX_DISTANCE_THRESHOLD_IN_METERS = 10.0
8888
internal const val DEFAULT_ROUTE_DESCRIPTOR_PLACEHOLDER = "mapboxDescriptorPlaceHolderUnused"
8989
internal const val MAX_ELAPSED_SINCE_INDEX_UPDATE_NANO = 1500000000.0 // 1.5s
9090
internal const val DEFAULT_ROUTE_SOURCES_TOLERANCE = 0.375

0 commit comments

Comments
 (0)