public synchronized void setVisibility(final K key, final boolean show) {
        if (show) {
            show(key);
        } else {
            hide(key);
        }
    }
If an object for given key exists on the layer, it is made invisible
main/src/main/java/cgeo/geocaching/unifiedmap/geoitemlayer/GeoItemLayer.java