public void OnActionZoomOut(ActionMapEventArgs e) { if (e.KeyEvent == KeyEvent.OnPress && CurrentZoomLevel <= MaxZoomLevel) { CurrentZoomLevel++; } }
public void OnActionZoomIn(ActionMapEventArgs e) { if (e.KeyEvent == KeyEvent.OnPress && CurrentZoomLevel > 1) { CurrentZoomLevel--; } }