add "equals" key code to increase map zoom
This commit is contained in:
parent
e6a4be79f2
commit
36a732e610
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class MapActivityKeyListener implements KeyEvent.Callback {
|
||||||
if (keyCode == KeyEvent.KEYCODE_MINUS) {
|
if (keyCode == KeyEvent.KEYCODE_MINUS) {
|
||||||
mapActivity.changeZoom(-1);
|
mapActivity.changeZoom(-1);
|
||||||
return true;
|
return true;
|
||||||
} else if (keyCode == KeyEvent.KEYCODE_PLUS) {
|
} else if (keyCode == KeyEvent.KEYCODE_PLUS || keyCode == KeyEvent.KEYCODE_EQUALS) {
|
||||||
mapActivity.changeZoom(1);
|
mapActivity.changeZoom(1);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue