remove typo 2

This commit is contained in:
sonora 2013-10-23 23:09:02 +02:00
parent 66f8392331
commit 1a52c0c971
2 changed files with 2 additions and 2 deletions

View file

@ -366,7 +366,7 @@ public class MapActivity extends AccessibleActivity {
public void changeZoom(int stp){ public void changeZoom(int stp){
// delta = Math.round(delta * OsmandMapTileView.ZOOM_DELTA) * OsmandMapTileView.ZOOM_DELTA_1; // delta = Math.round(delta * OsmandMapTileView.ZOOM_DELTA) * OsmandMapTileView.ZOOM_DELTA_1;
boolean changeLocation = true; boolean changeLocation = true;
if (settings.AUTO_ZOOM_MAP.get() == settings.AutoZoomMap.NONE) { if (settings.AUTO_ZOOM_MAP.get() == AutoZoomMap.NONE) {
changeLocation = false; changeLocation = false;
} }
final int newZoom = mapView.getZoom() + stp; final int newZoom = mapView.getZoom() + stp;

View file

@ -80,7 +80,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
public void updateLocation(Location location) { public void updateLocation(Location location) {
if (mapView != null) { if (mapView != null) {
if (isMapLinkedToLocation() && location != null) { if (isMapLinkedToLocation() && location != null) {
if (settings.AUTO_ZOOM_MAP.get() != settings.AutoZoomMap.NONE) { if (settings.AUTO_ZOOM_MAP.get() != AutoZoomMap.NONE) {
autozoom(location); autozoom(location);
} }
int currentMapRotation = settings.ROTATE_MAP.get(); int currentMapRotation = settings.ROTATE_MAP.get();