Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add placements grid and alternating-grid #149

Merged
merged 1 commit into from
Aug 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions 3.0.20/reference.json
Original file line number Diff line number Diff line change
Expand Up @@ -1047,7 +1047,9 @@
"point",
"line",
"vertex",
"interior"
"interior",
"grid",
"alternating-grid"
],
"expression":true,
"default-value": "point",
Expand Down Expand Up @@ -1470,6 +1472,22 @@
"value"
],
"expression":true
},
"grid-cell-width": {
"css": "shield-grid-cell-width",
"type": "float",
"expression": true,
"default-value": 0,
"default-meaning": "No placement will be done.",
"doc": "Controls horizontal spacing between placements of placement type `grid` or `alternating-grid`."
},
"grid-cell-height": {
"css": "shield-grid-cell-height",
"type": "float",
"expression": true,
"default-value": 0,
"default-meaning": "No placement will be done.",
"doc": "Controls vertical spacing between placements of placement type `grid` or `alternating-grid`."
}
},
"line-pattern": {
Expand Down Expand Up @@ -2341,7 +2359,9 @@
"point",
"line",
"vertex",
"interior"
"interior",
"grid",
"alternating-grid"
],
"expression":true,
"default-meaning": "One shield will be placed per geometry.",
Expand Down Expand Up @@ -2548,6 +2568,22 @@
"default-meaning": "For multipolygons only polygon with largest bbox area is labeled (does not apply to other geometries).",
"doc": "Controls default labeling behavior on multipolygons. The default is true and means that only the polygon with largest bbox is labeled.",
"status": "experimental"
},
"grid-cell-width": {
"css": "text-grid-cell-width",
"type": "float",
"expression": true,
"default-value": 0,
"default-meaning": "No placement will be done.",
"doc": "Controls horizontal spacing between placements of placement type `grid` or `alternating-grid`."
},
"grid-cell-height": {
"css": "text-grid-cell-height",
"type": "float",
"expression": true,
"default-value": 0,
"default-meaning": "No placement will be done.",
"doc": "Controls vertical spacing between placements of placement type `grid` or `alternating-grid`."
}
},
"building": {
Expand Down