code: public int removeShapesNotWithinMap(GoogleMap map) {
  
          int count = 0;
  
          BoundingBox boundingBox = MapUtils.getBoundingBox(map);
  
          for (String database : databases.keySet()) {
              count += removeShapesNotWithinMap(boundingBox, database);
          }
  
          return count;
      }
docs: Remove all map shapes that are not visible in the map
  
  @param map map
  @return count of removed features