@Override
    public Feature setMaxZoom(int max) {
      maxzoom = Math.min(max, config.maxzoom());
      return this;
    }
Returns the maximum zoom level (inclusive) that this feature appears in.
planetiler-core/src/main/java/com/onthegomap/planetiler/FeatureCollector.java