public static void setPreviousTileProvider(final AbstractTileProvider tileProvider) {
        if (tileProvider != null) {
            putString(R.string.pref_previous_tileprovider, tileProvider.getId());
        }
    }
@return zoom used for the map of a single cache
main/src/main/java/cgeo/geocaching/settings/Settings.java