Skip to content

Commit

Permalink
Merge pull request #42 from govlt/residential-areas-min-zoom
Browse files Browse the repository at this point in the history
min zoom for labels
  • Loading branch information
ambrazasp authored Oct 10, 2024
2 parents 4b1b5f7 + f50f2cd commit eea7684
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit eea7684

Please sign in to comment.