Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Commit

Permalink
Add 'visibility' property.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauren Budorick committed Jan 22, 2015
1 parent c55898c commit 48aa184
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions reference/v7.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,28 @@
"layout_background"
],
"layout_background": {
"visibility": {
"type": "enum",
"values": [
"visible",
"placement",
"none"
],
"default": "visible",
"doc": "The display of this layer. `placement` hides it from rendering but affects other layers' placement; `hide` suppresses the layer altogether."
}
},
"layout_fill": {
"visibility": {
"type": "enum",
"values": [
"visible",
"placement",
"none"
],
"default": "visible",
"doc": "The display of this layer. `placement` hides it from rendering but affects other layers' placement; `hide` suppresses the layer altogether."
}
},
"layout_line": {
"line-cap": {
Expand Down Expand Up @@ -244,6 +264,16 @@
"line-join": "round"
}
]
},
"visibility": {
"type": "enum",
"values": [
"visible",
"placement",
"none"
],
"default": "visible",
"doc": "The display of this layer. `placement` hides it from rendering but affects other layers' placement; `hide` suppresses the layer altogether."
}
},
"layout_symbol": {
Expand Down Expand Up @@ -558,9 +588,29 @@
"text-field",
"icon-image"
]
},
"visibility": {
"type": "enum",
"values": [
"visible",
"placement",
"none"
],
"default": "visible",
"doc": "The display of this layer. `placement` hides it from rendering but affects other layers' placement; `hide` suppresses the layer altogether."
}
},
"layout_raster": {
"visibility": {
"type": "enum",
"values": [
"visible",
"placement",
"none"
],
"default": "visible",
"doc": "The display of this layer. `placement` hides it from rendering but affects other layers' placement; `hide` suppresses the layer altogether."
}
},
"filter": {
"type": "array",
Expand Down

0 comments on commit 48aa184

Please sign in to comment.