Code example for UiSettings

Methods: setRotateGesturesEnabled, setTiltGesturesEnabled

0
		Log.d(TAG, "setting");
		 
		mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(WROCLAW, 13));
		mMap.setMapType(GoogleMap.MAP_TYPE_NORMAL);
		UiSettings ui = mMap.getUiSettings();
		ui.setRotateGesturesEnabled(false);
		ui.setTiltGesturesEnabled(false);
		return true; 
	} 
 
	public void showOnMap(JSONArray arr) {
 
		mMap.clear();
 
		if (arr == null || !setUpMapIfNeeded())
			return; 
		for (int i = 0; i < arr.length(); i++) {
			JSONObject js;
			try { 
				js = arr.getJSONObject(i);
				double x = js.getDouble("x");