Code example for UiSettings

Methods: setZoomControlsEnabled

0
        } 
    } 
 
    private void setUpMap() { 
        mMap.setMyLocationEnabled(true);
        mUiSettings = mMap.getUiSettings();
    } 
 
    /** 
     * Checks if the map is ready (which depends on whether the Google Play services APK is 
     * available. This should be called prior to calling any methods on GoogleMap. 
     */ 
    private boolean checkReady() { 
        if (mMap == null) {
            Toast.makeText(this, R.string.map_not_ready, Toast.LENGTH_SHORT).show();
            return false; 
        } 
        return true; 
    } 
 
    public void setZoomButtonsEnabled(View v) {