From cfa8590476b9ec781d38e799054ca918ff7cba47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Paczos?= Date: Thu, 19 Jan 2023 15:55:48 +0100 Subject: [PATCH 1/2] increase max distance to route line valid to continue vanishing updates to 10m --- changelog/unreleased/bugfixes/changes.md | 1 + .../com/mapbox/navigation/ui/maps/route/RouteLayerConstants.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/bugfixes/changes.md diff --git a/changelog/unreleased/bugfixes/changes.md b/changelog/unreleased/bugfixes/changes.md new file mode 100644 index 00000000000..28b71e4d12e --- /dev/null +++ b/changelog/unreleased/bugfixes/changes.md @@ -0,0 +1 @@ +- Increased max distance from the user indicator to route line valid to continue vanishing updates from 3m to 10m. diff --git a/libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/route/RouteLayerConstants.kt b/libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/route/RouteLayerConstants.kt index ec6f64bc2e7..4f59a4c5fc9 100644 --- a/libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/route/RouteLayerConstants.kt +++ b/libnavui-maps/src/main/java/com/mapbox/navigation/ui/maps/route/RouteLayerConstants.kt @@ -84,7 +84,7 @@ object RouteLayerConstants { internal const val RESTRICTED_CONGESTION_VALUE = "restricted" internal const val ORIGIN_MARKER_NAME = "originMarker" internal const val DESTINATION_MARKER_NAME = "destinationMarker" - internal const val ROUTE_LINE_UPDATE_MAX_DISTANCE_THRESHOLD_IN_METERS = 3.0 + internal const val ROUTE_LINE_UPDATE_MAX_DISTANCE_THRESHOLD_IN_METERS = 10.0 internal const val DEFAULT_ROUTE_DESCRIPTOR_PLACEHOLDER = "mapboxDescriptorPlaceHolderUnused" internal const val MAX_ELAPSED_SINCE_INDEX_UPDATE_NANO = 1500000000.0 // 1.5s internal const val DEFAULT_ROUTE_SOURCES_TOLERANCE = 0.375 From 7d4965411ed6b7608a6791bec61efd18d53db4b3 Mon Sep 17 00:00:00 2001 From: runner Date: Thu, 19 Jan 2023 16:24:06 +0000 Subject: [PATCH 2/2] Rename changelog files --- changelog/unreleased/bugfixes/{changes.md => 6854.md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename changelog/unreleased/bugfixes/{changes.md => 6854.md} (100%) diff --git a/changelog/unreleased/bugfixes/changes.md b/changelog/unreleased/bugfixes/6854.md similarity index 100% rename from changelog/unreleased/bugfixes/changes.md rename to changelog/unreleased/bugfixes/6854.md