Hide marker widgets in route preparation mode

This commit is contained in:
Alexey Kulish 2016-11-02 21:07:39 +03:00
parent 109fefe399
commit c73df4b794

View file

@ -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;