From f50f2cd4609005fa1451c069cf8f58404f6e29e6 Mon Sep 17 00:00:00 2001 From: Pranciskus Ambrazas Date: Thu, 10 Oct 2024 11:22:45 +0300 Subject: [PATCH] min zoom for labels --- .../java/lt/startupgov/boundaries/layers/ResidentialAreas.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/lt/startupgov/boundaries/layers/ResidentialAreas.java b/src/main/java/lt/startupgov/boundaries/layers/ResidentialAreas.java index 89106dc..69986f4 100644 --- a/src/main/java/lt/startupgov/boundaries/layers/ResidentialAreas.java +++ b/src/main/java/lt/startupgov/boundaries/layers/ResidentialAreas.java @@ -30,6 +30,7 @@ public void processFeature(SourceFeature sf, FeatureCollector features) { features.geometry(Layers.RESIDENTIAL_AREAS_LABEL, pointGeom) .setBufferPixels(4) .setMinPixelSizeAtAllZooms(0) + .setMinZoom(10) .setId(featureId) .setAttr("feature_id", featureId) .setAttr("code", sf.getTag("code"))