We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 22c4da8 commit 4c93313Copy full SHA for 4c93313
tiles/src/main/java/com/protomaps/basemap/layers/Boundaries.java
@@ -276,10 +276,15 @@ public List<OsmRelationInfo> preprocessOsmRelation(OsmElement.Relation relation)
276
277
@Override
278
public List<VectorTile.Feature> postProcess(int zoom, List<VectorTile.Feature> items) {
279
+ var tolerance = 0.4;
280
+ if( zoom < 6 ) {
281
+ tolerance = 0.2;
282
+ }
283
return FeatureMerge.mergeLineStrings(items,
284
0.0,
- 0.1,
- 4
285
+ tolerance,
286
+ 4,
287
+ true
288
);
289
}
290
0 commit comments