public int removeShapesExcluding(GoogleMapShapeType... excludedTypes) {
        Set<GoogleMapShapeType> excluded = new HashSet<>();
        for (GoogleMapShapeType excludedType : excludedTypes) {
            excluded.add(excludedType);
        }
        return removeShapesWithExclusions(excluded);
    }
public int removeShapesExcluding ( GoogleMapShapeType ... excludedTypes ) { Set < GoogleMapShapeType > excluded = new HashSet < > ( ) ; for ( GoogleMapShapeType excludedType : excludedTypes ) { excluded . add ( excludedType ) ; } return removeShapesWithExclusions ( excluded ) ; }
Remove all map shapes from the map, excluding shapes with the excluded types

@param excludedTypes Google Map Shape Types to exclude from map removal
@return count of removed features
@since 3.2.0