Skip to content

Commit

Permalink
Add sdk support spec section for text-radial-offset (#8384)
Browse files Browse the repository at this point in the history
This PR also assigns SDK versions for the `text-variable-anchor`
property (both `text-variable-anchor` and `text-radial-offset`
are the parts of the variable text placement feature).
  • Loading branch information
pozdnyakov authored and Asheem Mamoowala committed Jun 27, 2019
1 parent 40c55ce commit 53a87db
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions src/style-spec/reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -1780,10 +1780,10 @@
"macos": "0.6.0"
},
"auto": {
"js": "next",
"android": "Not yet supported",
"ios": "Not yet supported",
"macos": "Not yet supported"
"js": "0.54.0",
"android": "7.4.0",
"ios": "4.10.0",
"macos": "0.14.0"
}
},
"expression": {
Expand All @@ -1800,6 +1800,20 @@
"units": "ems",
"default": 0,
"doc": "Radial offset of text, in the direction of the symbol's anchor. Useful in combination with `text-variable-anchor`, which doesn't support the two-dimensional `text-offset`.",
"sdk-support": {
"basic functionality": {
"js": "0.54.0",
"android": "7.4.0",
"ios": "4.10.0",
"macos": "0.14.0"
},
"data-driven styling": {
"js": "0.54.0",
"android": "7.4.0",
"ios": "4.10.0",
"macos": "0.14.0"
}
},
"requires": [
{
"!" : "text-offset"
Expand Down Expand Up @@ -1862,10 +1876,10 @@
"doc": "To increase the chance of placing high-priority labels on the map, you can provide an array of `text-anchor` locations: the render will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use the `text-radial-offset` instead of the two-dimensional `text-offset`.",
"sdk-support": {
"basic functionality": {
"js": "next",
"android": "Not yet supported",
"ios": "Not yet supported",
"macos": "Not yet supported"
"js": "0.54.0",
"android": "7.4.0",
"ios": "4.10.0",
"macos": "0.14.0"
},
"data-driven styling": {
"js": "Not yet supported",
Expand Down

0 comments on commit 53a87db

Please sign in to comment.