Hide markers from right widget panel while navigating

This commit is contained in:
Alexey Kulish 2016-11-01 20:02:18 +03:00
parent d5cb8f0520
commit d965472bb0

View file

@ -339,7 +339,8 @@ public class MapMarkersWidgetsFactory {
@Override
public boolean updateInfo(DrawSettings drawSettings) {
MapMarker marker = getMarker();
if (marker == null) {
if (marker == null || map.getMyApplication().getRoutingHelper().isFollowingMode()) {
cachedMeters = 0;
setText(null, null);
return false;
}