@Override
        public void remove(final Object key, final GeoPrimitive value, final Object context) {
            Log.d(this.logPraefix + "REMOVE '" + key + "'");
            removeProcessed++;
            removeProcessedInBatch++;

            //don't remove invalid values (because they were not added in the first place)
            if (!GeoItem.isValid(value)) {
                return;
            }
            providerLayer.remove(value, context);
        }
Key class to be used for entries in MapWriter from a GeoGroup
main/src/main/java/cgeo/geocaching/unifiedmap/geoitemlayer/GeoItemLayer.java