Skip to content

Commit b16c17f

Browse files
committed
Document text-extend
Refers to mapnik PR #3512
1 parent 0c112f6 commit b16c17f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

3.1.0/reference.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2701,6 +2701,14 @@
27012701
"doc": "In case of `line` placement, offsets a text position a number of pixels parallel to its actual path. In case of `grid` placement, reduces or expands the polygon area. Positive values move the line left or expand the polygon, negative values move it right or shrink the polygon (relative to the directionality of the line or polygon winding).",
27022702
"status": "unstable"
27032703
}
2704+
"extend": {
2705+
"css": "text-extend",
2706+
"type": "float",
2707+
"expression": true,
2708+
"default-value": 0.0,
2709+
"default-meaning": "",
2710+
"doc": "A temporary path will created that extends both the starting and final segments of a line by the given distance (starting and final segments are the same for lines with a single segment). The text will be rendered on this extended line, i.e. text will extend beyond the line length. Option is only valid with placement-line."
2711+
},
27042712
},
27052713
"building": {
27062714
"default": {

0 commit comments

Comments
 (0)