refactored some code

This commit is contained in:
Chumva 2018-03-01 13:19:32 +02:00
parent d14b2477fc
commit fe5fa35a24

View file

@ -253,6 +253,10 @@ public class MapMarkersWidgetsFactory {
heading = -map.getMapRotate(); heading = -map.getMapRotate();
} }
if (customLocation) {
heading = 0f;
}
boolean newImage = false; boolean newImage = false;
DirectionDrawable dd; DirectionDrawable dd;
if (!(arrowImg.getDrawable() instanceof DirectionDrawable)) { if (!(arrowImg.getDrawable() instanceof DirectionDrawable)) {