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

Commit

Permalink
add icon-allow-without-text and text-allow-without-icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ansis authored and mourner committed Jul 3, 2014
1 parent 3c76987 commit 002cb74
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions reference/v4.json
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,11 @@
"default": false,
"doc": "If true, the icon won't affect placement of other icons and text."
},
"icon-allow-without-text": {
"type": "boolean",
"default": false,
"doc": "The icon can only be placed without or before text if this is true, or if the layer has no text."

This comment has been minimized.

Copy link
@mourner

mourner Jul 3, 2014

Member

This doc sounds pretty confusing. It can "only" be placed, or it can be placed with OR without? I think we should rephrase that somehow so that it's clear...

},
"icon-rotation-alignment": {
"type": "enum",
"values": [
Expand Down Expand Up @@ -419,6 +424,11 @@
"type": "boolean",
"default": false,
"doc": "If true, the text won't affect placement of other icons and labels."
},
"text-allow-without-icon": {
"type": "boolean",
"default": false,
"doc": "The text can only be placed without or before the icon if this is true, or if the layer has no icon."
}
},
"render_composite": {
Expand Down

0 comments on commit 002cb74

Please sign in to comment.