From c73df4b794b4128641a9f11c6022615cd3e02f69 Mon Sep 17 00:00:00 2001 From: Alexey Kulish Date: Wed, 2 Nov 2016 21:07:39 +0300 Subject: [PATCH] Hide marker widgets in route preparation mode --- .../plus/views/mapwidgets/MapMarkersWidgetsFactory.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java index 6049a94bcf..a0db528d99 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java @@ -339,7 +339,9 @@ public class MapMarkersWidgetsFactory { @Override public boolean updateInfo(DrawSettings drawSettings) { MapMarker marker = getMarker(); - if (marker == null || map.getMyApplication().getRoutingHelper().isFollowingMode()) { + if (marker == null + || map.getMyApplication().getRoutingHelper().isRoutePlanningMode() + || map.getMyApplication().getRoutingHelper().isFollowingMode()) { cachedMeters = 0; setText(null, null); return false;