Code example for UiSettings

Methods: setTiltGesturesEnabled

0
        // location button will never show. 
        mMap.setMyLocationEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setScrollGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables scroll gestures (i.e. panning the map). 
        mUiSettings.setScrollGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setZoomGesturesEnabled(View v) {
        if (!checkReady()) { 
            return; 
        } 
        // Enables/disables zoom gestures (i.e., double tap, pinch & stretch). 
        mUiSettings.setZoomGesturesEnabled(((CheckBox) v).isChecked());
    } 
 
    public void setTiltGesturesEnabled(View v) {