arrows moves only by location and in centre by compass
This commit is contained in:
parent
c3e897587e
commit
bce81ab430
1 changed files with 3 additions and 4 deletions
|
@ -198,9 +198,6 @@ public class MapMarkersWidgetsFactory {
|
|||
} else {
|
||||
loc = null;
|
||||
}
|
||||
if(!map.getMapViewTrackingUtilities().isMapLinkedToLocation()){
|
||||
customLocation = loc;
|
||||
}
|
||||
}
|
||||
|
||||
List<MapMarker> markers = helper.getMapMarkers();
|
||||
|
@ -219,7 +216,9 @@ public class MapMarkersWidgetsFactory {
|
|||
}
|
||||
|
||||
Float heading = map.getMapViewTrackingUtilities().getHeading();
|
||||
|
||||
if(!map.getMapViewTrackingUtilities().isMapLinkedToLocation()){
|
||||
heading=0f;
|
||||
}
|
||||
MapMarker marker = markers.get(0);
|
||||
updateUI(loc, heading, marker, arrowImg, distText, okButton, addressText, true, customLocation != null);
|
||||
|
||||
|
|
Loading…
Reference in a new issue