From fe5fa35a246a64cfbd0af632678b2eb1dfde76b7 Mon Sep 17 00:00:00 2001 From: Chumva Date: Thu, 1 Mar 2018 13:19:32 +0200 Subject: [PATCH] refactored some code --- .../plus/views/mapwidgets/MapMarkersWidgetsFactory.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java index bdcdf93342..eb368019cb 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/MapMarkersWidgetsFactory.java @@ -253,6 +253,10 @@ public class MapMarkersWidgetsFactory { heading = -map.getMapRotate(); } + if (customLocation) { + heading = 0f; + } + boolean newImage = false; DirectionDrawable dd; if (!(arrowImg.getDrawable() instanceof DirectionDrawable)) {