diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java index eb368019cb..36247023e5 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java @@ -248,10 +248,6 @@ public class MapMarkersWidgetsFactory { if (loc != null && marker.point != null) { Location.distanceBetween(marker.getLatitude(), marker.getLongitude(), loc.getLatitude(), loc.getLongitude(), mes); } - boolean useCenter = !(map.getMapViewTrackingUtilities().isMapLinkedToLocation() && customLocation); - if (useCenter) { - heading = -map.getMapRotate(); - } if (customLocation) { heading = 0f;