default C replace(GeoPrimitive oldItem, C oldContext, GeoPrimitive newItem) {
        remove(oldItem, oldContext);
        return add(newItem);
    }
Optional method to handle replacements of one object with another.
main/src/main/java/cgeo/geocaching/unifiedmap/geoitemlayer/IProviderGeoItemLayer.java