Code example for UiSettings

Methods: setRotateGesturesEnabled

0
	public void setRotateGesturesEnabled(View v) {
		if (!checkReady()) { 
			return; 
		} 
		// Enables/disables rotate gestures. 
		mUiSettings.setRotateGesturesEnabled(((CheckBox) v).isChecked());
	} 
	 
	/** 
	 * Overridden methods of LocationListener 
	 */ 
	@Override 
	public void onLocationChanged(Location location) {
		if(isBetterLocation(location,currentLocation)){
			setProviderFixed(true); 
			currentLocation = location;
			 
			if(timeout()){ 
				zoomTo(currentLocation);
			} 
		}