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

Commit

Permalink
Functions for layout properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Lauren Budorick committed Jan 26, 2015
1 parent 8ab5137 commit f3d67a4
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions reference/v7.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@
"line-miter-limit": {
"type": "number",
"default": 2,
"function": true,
"doc": "Used to automatically convert miter joins to bevel joins for sharp angles.",
"requires": [
{
Expand All @@ -256,6 +257,7 @@
"line-round-limit": {
"type": "number",
"default": 1,
"function": true,
"doc": "Used to automatically convert round joins to miter joins for shallow angles.",
"requires": [
{
Expand Down Expand Up @@ -287,6 +289,7 @@
"type": "number",
"default": 250,
"minimum": 0,
"function": true,
"units": "pixels",
"doc": "Minimum distance between two symbol anchors.",
"requires": [
Expand Down Expand Up @@ -341,6 +344,7 @@
"type": "number",
"default": 1,
"minimum": 0,
"function": true,
"doc": "The maximum factor to scale the icon.",
"requires": [
"icon-image"
Expand All @@ -355,6 +359,7 @@
"type": "number",
"default": 0,
"period": 360,
"function": true,
"units": "degrees",
"doc": "Rotates the icon clockwise.",
"requires": [
Expand All @@ -365,6 +370,7 @@
"type": "number",
"default": 2,
"minimum": 0,
"function": true,
"units": "pixels",
"doc": "Padding value around icon bounding box to avoid icon collisions.",
"requires": [
Expand All @@ -390,6 +396,7 @@
0,
0
],
"function": true,
"doc": "Icon's offset distance. Values are [x, y] where negatives indicate left and up, respectively.",
"requires": [
"icon-image"
Expand Down Expand Up @@ -426,6 +433,7 @@
"default": 16,
"minimum": 0,
"units": "pixels",
"function": true,
"doc": "The maximum size text will be laid out, to calculate collisions with.",
"requires": [
"text-field"
Expand All @@ -436,6 +444,7 @@
"default": 15,
"minimum": 0,
"units": "em",
"function": true,
"doc": "The maximum line width for text wrapping.",
"requires": [
"text-field"
Expand All @@ -445,6 +454,7 @@
"type": "number",
"default": 1.2,
"units": "em",
"function": true,
"doc": "Text leading value for multi-line text.",
"requires": [
"text-field"
Expand All @@ -454,6 +464,7 @@
"type": "number",
"default": 0,
"units": "em",
"function": true,
"doc": "Text kerning value.",
"requires": [
"text-field"
Expand Down Expand Up @@ -495,6 +506,7 @@
"type": "number",
"default": 45,
"units": "degrees",
"function": true,
"doc": "Maximum angle change between adjacent characters.",
"requires": [
"text-field",
Expand All @@ -508,6 +520,7 @@
"default": 0,
"period": 360,
"units": "degrees",
"function": true,
"doc": "Rotates the text clockwise.",
"requires": [
"text-field"
Expand All @@ -518,6 +531,7 @@
"default": 2,
"minimum": 0,
"units": "pixels",
"function": true,
"doc": "Padding value around text bounding box to avoid label collisions.",
"requires": [
"text-field"
Expand Down Expand Up @@ -552,6 +566,7 @@
"doc": "Specifies the distance that text is offset from its anchor horizontally and vertically.",
"value": "number",
"units": "ems",
"function": true,
"length": 2,
"default": [
0,
Expand Down

0 comments on commit f3d67a4

Please sign in to comment.