Zoom should not change sync with map
This commit is contained in:
parent
8ad5280fb0
commit
92dad044ec
1 changed files with 4 additions and 4 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue