Skip to content

Commit 28a317a

Browse files
authored
Merge pull request #170 from dch0ph/document-center-placement
Document C placement option (PR #3596)
2 parents feaaf82 + 7af79ab commit 28a317a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

4.2.0/reference.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,8 +1169,7 @@
11691169
"expression":true,
11701170
"default-value": false,
11711171
"doc": "Control whether overlapping shields are shown or hidden.",
1172-
"default-meaning": "Shields will not overlap and any shields that might collide with previously placed shields will not be rendered.",
1173-
"default-meaning": "Do not allow shields to overlap with other map elements already placed."
1172+
"default-meaning": "Shields will not overlap and any shields that might collide with previously placed shields will not be rendered."
11741173
},
11751174
"margin": {
11761175
"css": "shield-margin",
@@ -1446,7 +1445,7 @@
14461445
"expression":true,
14471446
"default-value": "",
14481447
"default-meaning": "No alternative placements will be used.",
1449-
"doc": "If \"placement-type\" is set to \"simple\", use this \"POSITIONS,[SIZES]\" string. An example is `shield-placements: \"E,NE,SE,W,NW,SW\";`."
1448+
"doc": "If \"placement-type\" is set to \"simple\", use this \"POSITIONS,[SIZES]\" string. An example is `shield-placements: \"E,NE,SE,W,NW,SW\";`. Note that the X placement option will apply both `dx` and `dy` offsets; use the C (centre) placement option (added version 4) to avoid offsetting the position."
14501449
},
14511450
"text-transform": {
14521451
"css": "shield-text-transform",
@@ -2564,7 +2563,7 @@
25642563
"default-meaning": "No alternative placements will be used.",
25652564
"default-value": "",
25662565
"expression":true,
2567-
"doc": "If \"placement-type\" is set to \"simple\", use this \"POSITIONS,[SIZES]\" string. An example is `text-placements: \"E,NE,SE,W,NW,SW\";`."
2566+
"doc": "If \"placement-type\" is set to \"simple\", use this \"POSITIONS,[SIZES]\" string. An example is `text-placements: \"E,NE,SE,W,NW,SW\";`. Note that the X placement option will apply both `dx` and `dy` offsets; use the C (centre) placement option (added version 4) to avoid offsetting the position."
25682567
},
25692568
"text-transform": {
25702569
"css": "text-transform",

0 commit comments

Comments
 (0)