You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 3.1.0/reference.json
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2701,6 +2701,14 @@
2701
2701
"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).",
2702
2702
"status": "unstable"
2703
2703
}
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."
Default branch is `gh-pages` which is displayed at http://mapnik.org/mapnik-reference
7
+
Default branch is `gh-pages`, which is displayed at http://mapnik.org/mapnik-reference
10
8
11
9
## Versioning
12
10
@@ -20,13 +18,13 @@ and the next targeted release of Mapnik.
20
18
21
19
## Meaning
22
20
23
-
The structure of the file is as such:
21
+
The structure of `reference.json` is:
24
22
25
23
*`version`: the version of Mapnik targeted. Same as the containing directory.
26
24
*`style`: properties of the `Style` XML element
27
25
*`layer`: properties of the `Layer` XML element
28
-
*`symbolizers/*`: properties that apply to **all** symbolizers
29
-
*`symbolizers/symbolizer`: properties that apply to **each** type of symbolizer
26
+
*`symbolizers`: properties that apply to all symbolizers (removed from version 2.1.0 onwards)
27
+
*`symbolizers/`_\<symbolizer\>_: properties that are specific to a given symbolizer
30
28
*`colors`: named colors supported by Mapnik. see `include/mapnik/css_color_grammar.hpp`
31
29
32
30
### Property stability
@@ -38,6 +36,7 @@ then the `status` is `stable`. Possible values are:
38
36
-**deprecated:**`property` should not be used and will be removed in upcoming major version of Mapnik
39
37
-**experimental:**`property` should not be used and may change, be re-named, or disappear at any time
40
38
39
+
`datasources.json` separately details the properties of the possible data sources (since version 2.3.0).
41
40
42
41
## Using
43
42
@@ -82,5 +81,5 @@ Tests require python and node.js:
82
81
83
82
## Users
84
83
85
-
*[carto.js](https://github.com/mapbox/carto)
86
-
* Mapnik itself (the util/validate-mapnik-instance.py is used to check binding consistency like in [#1427](https://github.com/mapnik/mapnik/issues/1427))
0 commit comments