Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
Support TextSymbolizer's vertical-alignment style.
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ Ashton committed Feb 19, 2011
1 parent 217ce8a commit cdfadb8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lib/carto/tree/reference.json
Expand Up @@ -648,6 +648,17 @@
"doc": "Displace text by fixed amount, in pixels, +/- along the Y axis. A positive value will shift the text down",
"default-value": 0
},
"vertical-alignment": {
"css": "text-vertical-alignment",
"type": [
"top",
"middle",
"bottom"
],
"doc": "Position of label relative to point position.",
"default-value": "middle",
"default-meaning": "Default affected by value of dy; 'bottom' for dy>0, 'top' for dy<0."
},
"avoid-edges": {
"css": "text-avoid-edges",
"doc": "Tell positioning algorithm to avoid labeling near intersection edges.",
Expand Down

0 comments on commit cdfadb8

Please sign in to comment.