Skip to content

Commit ac390f9

Browse files
committed
Add smooth-algorithm to line symbolizer (PR #4031)
1 parent 259391e commit ac390f9

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

4.2.0/reference.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,16 @@
677677
"range": "0-1",
678678
"doc": "Smooths out geometry angles. 0 is no smoothing, 1 is fully smoothed. Values greater than 1 will produce wild, looping geometries."
679679
},
680+
"smooth-algorithm": {
681+
"css": "line-smooth-algorithm",
682+
"type": ["basic",
683+
"adaptive"
684+
],
685+
"expression":true,
686+
"default-value": "basic",
687+
"default-meaning": "The geometry will be simplified using the original non-adaptive algorithm.",
688+
"doc": "Set the alogorithm used to smooth geometries. `adaptive` will increase the number of interpolation points at sharper bends, leading to more realistic smoothing."
689+
},
680690
"offset": {
681691
"css": "line-offset",
682692
"type": "float",

0 commit comments

Comments
 (0)