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