refactored some code
This commit is contained in:
parent
d14b2477fc
commit
fe5fa35a24
1 changed files with 4 additions and 0 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue