remove typo 2
This commit is contained in:
parent
66f8392331
commit
1a52c0c971
2 changed files with 2 additions and 2 deletions
|
@ -366,7 +366,7 @@ public class MapActivity extends AccessibleActivity {
|
|||
public void changeZoom(int stp){
|
||||
// delta = Math.round(delta * OsmandMapTileView.ZOOM_DELTA) * OsmandMapTileView.ZOOM_DELTA_1;
|
||||
boolean changeLocation = true;
|
||||
if (settings.AUTO_ZOOM_MAP.get() == settings.AutoZoomMap.NONE) {
|
||||
if (settings.AUTO_ZOOM_MAP.get() == AutoZoomMap.NONE) {
|
||||
changeLocation = false;
|
||||
}
|
||||
final int newZoom = mapView.getZoom() + stp;
|
||||
|
|
|
@ -80,7 +80,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
|
|||
public void updateLocation(Location location) {
|
||||
if (mapView != null) {
|
||||
if (isMapLinkedToLocation() && location != null) {
|
||||
if (settings.AUTO_ZOOM_MAP.get() != settings.AutoZoomMap.NONE) {
|
||||
if (settings.AUTO_ZOOM_MAP.get() != AutoZoomMap.NONE) {
|
||||
autozoom(location);
|
||||
}
|
||||
int currentMapRotation = settings.ROTATE_MAP.get();
|
||||
|
|
Loading…
Reference in a new issue