Used string from resouces

This commit is contained in:
Denis 2014-11-03 18:06:53 +02:00
parent a8dcdd70c4
commit f427197186

View file

@ -463,7 +463,7 @@ public class MapActivity extends AccessibleActivity implements
// }
final int newZoom = mapView.getZoom() + stp;
if (newZoom > 22) {
AccessibleToast.makeText(this, "Max zoom", Toast.LENGTH_SHORT).show(); //$NON-NLS-1$
AccessibleToast.makeText(this, R.string.edit_tilesource_maxzoom, Toast.LENGTH_SHORT).show(); //$NON-NLS-1$
return;
}
mapView.getAnimatedDraggingThread().startZooming(newZoom, changeLocation);