add "equals" key code to increase map zoom

This commit is contained in:
nazar-kutz 2021-04-13 11:56:01 +03:00
parent e6a4be79f2
commit 36a732e610

View file

@ -124,7 +124,7 @@ public class MapActivityKeyListener implements KeyEvent.Callback {
if (keyCode == KeyEvent.KEYCODE_MINUS) {
mapActivity.changeZoom(-1);
return true;
} else if (keyCode == KeyEvent.KEYCODE_PLUS) {
} else if (keyCode == KeyEvent.KEYCODE_PLUS || keyCode == KeyEvent.KEYCODE_EQUALS) {
mapActivity.changeZoom(1);
return true;
}