@Override
    public boolean onCreateOptionsMenu(@NonNull final Menu menu) {
        super.onCreateOptionsMenu(menu);

        MapProviderFactory.addMapviewMenuItems(activity, menu);

        /* if we have an Actionbar find the my position toggle */
        initFollowMyLocation(followMyLocationSwitch);
        FilterUtils.initializeFilterMenu(activity, mapActivity);

        return true;
    }
Set the zoom of the map. The zoom is restricted to a certain minimum in case of live map.
main/src/main/java/cgeo/geocaching/maps/CGeoMap.java