code: public int removeShapesWithExclusions(Set<GoogleMapShapeType> excludedTypes) {
  
          int count = 0;
          Iterator<String> iterator = databases.keySet().iterator();
          while (iterator.hasNext()) {
              String database = iterator.next();
              count += removeShapesWithExclusions(database, excludedTypes);
  
              if (getTablesCount(database) <= 0) {
                  iterator.remove();
              }
          }
  
          return count;
      }
docs: 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