Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
7d9c11e8e9
1 changed files with 4 additions and 0 deletions
|
@ -462,6 +462,10 @@ public class MapActivity extends AccessibleActivity implements
|
|||
// changeLocation = false;
|
||||
// }
|
||||
final int newZoom = mapView.getZoom() + stp;
|
||||
if (newZoom > 22) {
|
||||
AccessibleToast.makeText(this, R.string.edit_tilesource_maxzoom, Toast.LENGTH_SHORT).show(); //$NON-NLS-1$
|
||||
return;
|
||||
}
|
||||
mapView.getAnimatedDraggingThread().startZooming(newZoom, changeLocation);
|
||||
if (app.accessibilityEnabled())
|
||||
AccessibleToast.makeText(this, getString(R.string.zoomIs) + " " + newZoom, Toast.LENGTH_SHORT).show(); //$NON-NLS-1$
|
||||
|
|
Loading…
Reference in a new issue