Skip to content
Permalink
Browse files

Store maxzoom in a variable

  • Loading branch information...
ferrybig committed Mar 8, 2019
1 parent f684926 commit 2670a27dca763a22b85ef1ec20c5cfca72c16fd6
@@ -30,6 +30,7 @@
private final Path images;
private final int normalZoom = 10;
private final int normalRes = 256;
private final int maxZoom = 15;
private final Set<ImageEntry> zoomedOutLayers = new HashSet<>();

public ComplexImageOutputRenderer(RegionRenderer renderer, Path outputDir) {
@@ -158,8 +159,8 @@ protected void addImage(BufferedImage tile, int x, int z) throws IOException {
}
}
}
if (currentZoom > 11) {
break; // DEBUG
if (currentZoom >= this.maxZoom) {
break;
}
}
} finally {

0 comments on commit 2670a27

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.