_controls.addControl(CTL_PAN_CONTROL, new PanControl());
_controls.addControl(CTL_PAN_CONTROL, new ActivePanControl(this));
	public void setViewMode(String mode) {//	    System.out.println("Set View Tool Mode: " + mode);	    	    // PAN only	    if(mode.equals(VIEW_MODE_PAN)) {	        _controls.removeControl(CTL_ROTATION_CONTROL);	        _controls.removeControl(CTL_ZOOM_CONTROL);	        _controls.addControl(CTL_PAN_CONTROL, new PanControl());	        _viewMode = VIEW_MODE_PAN;	    }	    // ZOOM only	    else if(mode.equals(VIEW_MODE_ZOOM)) {	        _controls.removeControl(CTL_ROTATION_CONTROL);	        _controls.removeControl(CTL_PAN_CONTROL);	        _controls.addControl(CTL_ZOOM_CONTROL, new ZoomControl());	        _viewMode = VIEW_MODE_ZOOM;	    }	    // ROTATE only	    else if(mode.equals(VIEW_MODE_ROTATE)) {	        _controls.removeControl(CTL_ZOOM_CONTROL);	        _controls.removeControl(CTL_PAN_CONTROL);	        _controls.addControl(CTL_ROTATION_CONTROL, new SmartRotationControl());	        _viewMode = VIEW_MODE_ROTATE;	    }	    	    // PAN & ZOOM, by default	    else {	        //if(mode.equals(VIEW_MODE_PAN_ZOOM)) {	        _controls.removeControl(CTL_ROTATION_CONTROL);	        _controls.addControl(CTL_ZOOM_CONTROL, new ZoomControl());	        _controls.addControl(CTL_PAN_CONTROL, new PanControl());	        _viewMode = VIEW_MODE_PAN_ZOOM;	    }	}