fix: features rendering - close the ring

This commit is contained in:
Azgaar 2024-10-13 20:32:37 +02:00
parent 6c37c7babf
commit c447afb829
4 changed files with 9 additions and 9 deletions

View file

@ -55,7 +55,7 @@ function getFeaturePath(feature) {
const clippedPoints = clipPoly(simplifiedPoints, 1);
const lineGen = d3.line().curve(d3.curveBasisClosed);
const path = round(lineGen(clippedPoints));
const path = round(lineGen(clippedPoints)) + "Z";
return path;
}