else if (button == 2) {
Point blockPoint = this.mapMode.screenXYtoBlockXZ(this.mapView, x, y);
IMwDataProvider provider = MwAPI.getCurrentDataProvider();
if (provider != null)
provider.onMiddleClick(this.mapView.getDimension(), blockPoint.x, blockPoint.y, this.mapView);
}
this.viewXStart = this.mapView.getX();
this.viewZStart = this.mapView.getZ();
//this.viewSizeStart = this.mapManager.getViewSize();