/** * Removes the given GeoJsonFeature from the layer * * @param feature feature to remove */ public void removeFeature(GeoJsonFeature feature) { if (feature == null) { throw new IllegalArgumentException("Feature cannot be null"); } super.removeFeature(feature); }