Zoom should not change sync with map

This commit is contained in:
vshcherb 2014-03-01 00:51:39 +02:00
parent 8ad5280fb0
commit 92dad044ec

View file

@ -367,10 +367,10 @@ 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() == AutoZoomMap.NONE) {
changeLocation = false;
}
boolean changeLocation = false;
// if (settings.AUTO_ZOOM_MAP.get() == AutoZoomMap.NONE) {
// changeLocation = false;
// }
final int newZoom = mapView.getZoom() + stp;
mapView.getAnimatedDraggingThread().startZooming(newZoom, changeLocation);
if (app.accessibilityEnabled())