Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mapbox-gl-style-spec

Package Overview
Dependencies
Maintainers
42
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapbox-gl-style-spec - npm Package Compare versions

Comparing version 8.8.0 to 8.8.1

6

CHANGELOG.md
## master
## 8.8.1
v8.0.0 styles are fully compatible with v8.8.1.
* Fixed style validation for layers with invalid types
## 8.8.0

@@ -4,0 +10,0 @@

2

lib/validate/validate_layout_property.js

@@ -14,2 +14,4 @@ 'use strict';

if (!layerSpec) return [];
if (options.valueSpec || layerSpec[propertyKey]) {

@@ -16,0 +18,0 @@ var errors = [];

@@ -14,2 +14,4 @@ 'use strict';

if (!layerSpec) return [];
var transitionMatch = propertyKey.match(/^(.*)-transition$/);

@@ -16,0 +18,0 @@

2

minify.js

@@ -6,3 +6,3 @@ #!/usr/bin/env node

function replacer(k,v) {
return (k === 'doc' || k === 'example') ? undefined : v;
return (k === 'doc' || k === 'example' || k === 'sdk-support') ? undefined : v;
}

@@ -9,0 +9,0 @@

{
"name": "mapbox-gl-style-spec",
"description": "a specification for mapbox gl styles",
"version": "8.8.0",
"version": "8.8.1",
"author": "Mapbox",

@@ -6,0 +6,0 @@ "bin": {

@@ -8,3 +8,3 @@ {

"values": [8],
"doc": "Stylesheet version number. Must be 8.",
"doc": "Style specification version number. Must be 8.",
"example": 8

@@ -37,3 +37,3 @@ },

"units": "degrees",
"doc": "Default bearing, in degrees. The style bearing will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",
"doc": "Default bearing, in degrees clockwise from true north. The style bearing will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",
"example": 29

@@ -45,3 +45,3 @@ },

"units": "degrees",
"doc": "Default pitch, in degrees. Zero is perpendicular to the surface. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",
"doc": "Default pitch, in degrees. Zero is perpendicular to the surface, for a look straight down at the map, while a greater value like 60 looks ahead towards the horizon. The style pitch will be used only if the map has not been positioned by other means (e.g. map options or user interaction).",
"example": 50

@@ -163,3 +163,3 @@ },

"type": "number",
"default": 14,
"default": 18,
"doc": "Maximum zoom level at which to create vector tiles (higher means greater detail at high zoom levels)."

@@ -169,8 +169,8 @@ },

"type": "number",
"default": 64,
"doc": "Tile buffer size on each side (higher means fewer rendering artifacts near tile edges but slower performance)."
"default": 128,
"doc": "Tile buffer size on each side (measured in 1/512ths of a tile; higher means fewer rendering artifacts near tile edges but slower performance)."
},
"tolerance": {
"type": "number",
"default": 3,
"default": 0.375,
"doc": "Douglas-Peucker simplification tolerance (higher means simpler geometries and faster performance)."

@@ -185,4 +185,4 @@ },

"type": "number",
"default": 400,
"doc": "Radius of each cluster when clustering points, relative to 4096 tile."
"default": 50,
"doc": "Radius of each cluster when clustering points, measured in 1/512ths of a tile."
},

@@ -335,3 +335,10 @@ "clusterMaxZoom": {

"default": "visible",
"doc": "The display of this layer. `none` hides this layer."
"doc": "The display of this layer. `none` hides this layer.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -349,3 +356,10 @@ },

"default": "visible",
"doc": "The display of this layer. `none` hides this layer."
"doc": "The display of this layer. `none` hides this layer.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -363,3 +377,10 @@ },

"default": "visible",
"doc": "The display of this layer. `none` hides this layer."
"doc": "The display of this layer. `none` hides this layer.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -379,3 +400,10 @@ },

"default": "butt",
"doc": "The display of line endings."
"doc": "The display of line endings.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -393,3 +421,10 @@ "line-join": {

"default": "miter",
"doc": "The display of lines when joining."
"doc": "The display of lines when joining.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -407,3 +442,10 @@ "line-miter-limit": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -421,3 +463,10 @@ "line-round-limit": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -433,3 +482,10 @@ "visibility": {

"default": "visible",
"doc": "The display of this layer. `none` hides this layer."
"doc": "The display of this layer. `none` hides this layer.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -448,3 +504,10 @@ },

"default": "point",
"doc": "Label placement relative to its geometry. `line` can only be used on LineStrings and Polygons."
"doc": "Label placement relative to its geometry. `line` can only be used on LineStrings and Polygons.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -464,3 +527,10 @@ "symbol-spacing": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -473,3 +543,10 @@ "symbol-avoid-edges": {

"default": false,
"doc": "If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer."
"doc": "If true, the symbols will not cross tile edges to avoid mutual collisions. Recommended in layers that don't have enough padding in the vector tile to prevent collisions, or if it is a point symbol layer placed after a line symbol layer.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -485,3 +562,10 @@ "icon-allow-overlap": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -497,3 +581,10 @@ "icon-ignore-placement": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -510,3 +601,10 @@ "icon-optional": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -526,3 +624,10 @@ "icon-rotation-alignment": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -539,3 +644,10 @@ "icon-size": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -558,3 +670,8 @@ "icon-text-fit": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.21.0"
}
}
},

@@ -580,3 +697,8 @@ "icon-text-fit-padding": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.21.0"
}
}
},

@@ -589,3 +711,10 @@ "icon-image": {

"doc": "A string with {tokens} replaced, referencing the data property to pull from.",
"tokens": true
"tokens": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -603,3 +732,13 @@ "icon-rotate": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.21.0"
}
}
},

@@ -617,3 +756,10 @@ "icon-padding": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -635,3 +781,10 @@ "icon-keep-upright": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -652,3 +805,10 @@ "icon-offset": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -667,3 +827,8 @@ "text-pitch-alignment": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.21.0"
}
}
},

@@ -683,3 +848,10 @@ "text-rotation-alignment": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -693,3 +865,10 @@ "text-field": {

"tokens": true,
"doc": "Value to use for a text label. Feature properties are specified using tokens like {field_name}."
"doc": "Value to use for a text label. Feature properties are specified using tokens like {field_name}.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -706,3 +885,10 @@ "text-font": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -720,3 +906,10 @@ "text-size": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -734,3 +927,10 @@ "text-max-width": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -747,3 +947,10 @@ "text-line-height": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -760,3 +967,10 @@ "text-letter-spacing": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -777,3 +991,10 @@ "text-justify": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -800,3 +1021,10 @@ "text-anchor": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -816,3 +1044,10 @@ "text-max-angle": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -830,3 +1065,10 @@ "text-rotate": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -844,3 +1086,10 @@ "text-padding": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -862,3 +1111,10 @@ "text-keep-upright": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -879,3 +1135,10 @@ "text-transform": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -897,3 +1160,10 @@ "text-offset": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -909,3 +1179,10 @@ "text-allow-overlap": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -921,3 +1198,10 @@ "text-ignore-placement": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -934,3 +1218,10 @@ "text-optional": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -946,3 +1237,10 @@ "visibility": {

"default": "visible",
"doc": "The display of this layer. `none` hides this layer."
"doc": "The display of this layer. `none` hides this layer.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -960,3 +1258,10 @@ },

"default": "visible",
"doc": "The display of this layer. `none` hides this layer."
"doc": "The display of this layer. `none` hides this layer.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -1063,3 +1368,10 @@ },

"default": true,
"doc": "Whether or not the fill should be antialiased."
"doc": "Whether or not the fill should be antialiased.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1075,3 +1387,13 @@ "fill-opacity": {

"doc": "The opacity of the entire fill layer. In contrast to the fill-color, this value will also affect the 1px stroke around the fill, if the stroke is used.",
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.21.0"
}
}
},

@@ -1090,3 +1412,13 @@ "fill-color": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.19.0"
}
}
},

@@ -1107,3 +1439,13 @@ "fill-outline-color": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.19.0"
}
}
},

@@ -1123,3 +1465,10 @@ "fill-translate": {

"units": "pixels",
"doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively."
"doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1139,3 +1488,10 @@ "fill-translate-anchor": {

"fill-translate"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1148,3 +1504,10 @@ "fill-pattern": {

"transition": true,
"doc": "Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512)."
"doc": "Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -1162,3 +1525,10 @@ },

"maximum": 1,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1177,3 +1547,13 @@ "line-color": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.23.0"
}
}
},

@@ -1193,3 +1573,10 @@ "line-translate": {

"units": "pixels",
"doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively."
"doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1209,3 +1596,10 @@ "line-translate-anchor": {

"line-translate"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1221,3 +1615,10 @@ "line-width": {

"units": "pixels",
"doc": "Stroke thickness."
"doc": "Stroke thickness.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1233,3 +1634,10 @@ "line-gap-width": {

"transition": true,
"units": "pixels"
"units": "pixels",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1239,3 +1647,3 @@ "line-offset": {

"default": 0,
"doc": "The line's offset perpendicular to its direction. Values may be positive or negative, where positive indicates \"rightwards\" (if you were moving in the direction of the line) and negative indicates \"leftwards.\"",
"doc": "The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.",
"function": "interpolated",

@@ -1245,3 +1653,10 @@ "zoom-function": true,

"transition": true,
"units": "pixels"
"units": "pixels",
"sdk-support": {
"basic": {
"js": "0.12.1",
"ios": "3.1.0",
"android": "3.0.0"
}
}
},

@@ -1257,3 +1672,10 @@ "line-blur": {

"units": "pixels",
"doc": "Blur applied to the line, in pixels."
"doc": "Blur applied to the line, in pixels.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1274,3 +1696,10 @@ "line-dasharray": {

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1283,3 +1712,10 @@ "line-pattern": {

"transition": true,
"doc": "Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512)."
"doc": "Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512).",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -1297,3 +1733,13 @@ },

"units": "pixels",
"doc": "Circle radius."
"doc": "Circle radius.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.18.0"
}
}
},

@@ -1307,3 +1753,13 @@ "circle-color": {

"property-function": true,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.18.0"
}
}
},

@@ -1317,3 +1773,13 @@ "circle-blur": {

"property-function": true,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.20.0"
}
}
},

@@ -1329,3 +1795,13 @@ "circle-opacity": {

"property-function": true,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
},
"property-function": {
"js": "0.20.0"
}
}
},

@@ -1342,3 +1818,10 @@ "circle-translate": {

"units": "pixels",
"doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively."
"doc": "The geometry's offset. Values are [x, y] where negatives indicate left and up, respectively.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1358,3 +1841,27 @@ "circle-translate-anchor": {

"circle-translate"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},
"circle-pitch-scale": {
"type": "enum",
"function": "piecewise-constant",
"zoom-function": true,
"property-function": true,
"values": [
"map",
"viewport"
],
"default": "map",
"doc": "Controls the scaling behavior of the circle when the map is pitched. The value `map` scales circles according to their apparent distance to the camera. The value `viewport` results in no pitch-related scaling.",
"sdk-support": {
"basic": {
"js": "0.21.0"
}
}
}

@@ -1375,3 +1882,10 @@ },

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1388,3 +1902,10 @@ "icon-color": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1401,3 +1922,10 @@ "icon-halo-color": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1416,3 +1944,10 @@ "icon-halo-width": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1431,3 +1966,10 @@ "icon-halo-blur": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1450,3 +1992,10 @@ "icon-translate": {

"icon-image"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1467,3 +2016,10 @@ "icon-translate-anchor": {

"icon-translate"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1482,3 +2038,10 @@ "text-opacity": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1495,3 +2058,10 @@ "text-color": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1508,3 +2078,10 @@ "text-halo-color": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1523,3 +2100,10 @@ "text-halo-width": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1538,3 +2122,10 @@ "text-halo-blur": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1557,3 +2148,10 @@ "text-translate": {

"text-field"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1574,3 +2172,10 @@ "text-translate-anchor": {

"text-translate"
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -1587,3 +2192,10 @@ },

"zoom-function": true,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1598,3 +2210,10 @@ "raster-hue-rotate": {

"units": "degrees",
"doc": "Rotates hues around the color wheel."
"doc": "Rotates hues around the color wheel.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1609,3 +2228,10 @@ "raster-brightness-min": {

"maximum": 1,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1620,3 +2246,10 @@ "raster-brightness-max": {

"maximum": 1,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1631,3 +2264,10 @@ "raster-saturation": {

"zoom-function": true,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1642,3 +2282,10 @@ "raster-contrast": {

"zoom-function": true,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1653,3 +2300,10 @@ "raster-fade-duration": {

"units": "milliseconds",
"doc": "Fade duration when a new tile is added."
"doc": "Fade duration when a new tile is added.",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -1669,3 +2323,10 @@ },

}
]
],
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1677,3 +2338,10 @@ "background-pattern": {

"transition": true,
"doc": "Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512)."
"doc": "Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512).",
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
},

@@ -1688,3 +2356,10 @@ "background-opacity": {

"zoom-function": true,
"transition": true
"transition": true,
"sdk-support": {
"basic": {
"js": "0.10.0",
"ios": "2.0.0",
"android": "2.0.1"
}
}
}

@@ -1691,0 +2366,0 @@ },

@@ -1,1 +0,1 @@

{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360,"units":"degrees"},"pitch":{"type":"number","default":0,"units":"degrees"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string"},"transition":{"type":"transition"},"layers":{"required":true,"type":"array","value":"layer"}},"sources":{"*":{"type":"source"}},"source":["source_tile","source_geojson","source_video","source_image"],"source_tile":{"type":{"required":true,"type":"enum","values":["vector","raster"]},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512,"units":"pixels"},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":["geojson"]},"data":{"type":"*"},"maxzoom":{"type":"number","default":14},"buffer":{"type":"number","default":64},"tolerance":{"type":"number","default":3},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":400},"clusterMaxZoom":{"type":"number"}},"source_video":{"type":{"required":true,"type":"enum","values":["video"]},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":["image"]},"url":{"required":true,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":["fill","line","symbol","circle","raster","background"]},"metadata":{"type":"*"},"ref":{"type":"string"},"source":{"type":"string"},"source-layer":{"type":"string"},"minzoom":{"type":"number","minimum":0,"maximum":22},"maxzoom":{"type":"number","minimum":0,"maximum":22},"interactive":{"type":"boolean","default":false},"filter":{"type":"filter"},"layout":{"type":"layout"},"paint":{"type":"paint"},"paint.*":{"type":"paint"}},"layout":["layout_fill","layout_line","layout_circle","layout_symbol","layout_raster","layout_background"],"layout_background":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_fill":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_circle":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_line":{"line-cap":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["butt","round","square"],"default":"butt"},"line-join":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["bevel","round","miter"],"default":"miter"},"line-miter-limit":{"type":"number","default":2,"function":"interpolated","zoom-function":true,"property-function":true,"requires":[{"line-join":"miter"}]},"line-round-limit":{"type":"number","default":1.05,"function":"interpolated","zoom-function":true,"property-function":true,"requires":[{"line-join":"round"}]},"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_symbol":{"symbol-placement":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["point","line"],"default":"point"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"function":"interpolated","zoom-function":true,"property-function":true,"units":"pixels","requires":[{"symbol-placement":"line"}]},"symbol-avoid-edges":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false},"icon-allow-overlap":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image"]},"icon-ignore-placement":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image"]},"icon-optional":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image","text-field"]},"icon-rotation-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"viewport","requires":["icon-image"]},"icon-size":{"type":"number","default":1,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image"]},"icon-text-fit":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":false,"values":["none","both","width","height"],"default":"none","requires":["icon-image","text-field"]},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image","icon-text-fit","text-field"]},"icon-image":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"tokens":true},"icon-rotate":{"type":"number","default":0,"period":360,"function":"interpolated","zoom-function":true,"property-function":true,"units":"degrees","requires":["icon-image"]},"icon-padding":{"type":"number","default":2,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"units":"pixels","requires":["icon-image"]},"icon-keep-upright":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":"line"}]},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image"]},"text-pitch-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"requires":["text-field"]},"text-rotation-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"viewport","requires":["text-field"]},"text-field":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":"","tokens":true},"text-font":{"type":"array","value":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":["Open Sans Regular","Arial Unicode MS Regular"],"requires":["text-field"]},"text-size":{"type":"number","default":16,"minimum":0,"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-max-width":{"type":"number","default":10,"minimum":0,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-line-height":{"type":"number","default":1.2,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-letter-spacing":{"type":"number","default":0,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-justify":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["left","center","right"],"default":"center","requires":["text-field"]},"text-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"default":"center","requires":["text-field"]},"text-max-angle":{"type":"number","default":45,"units":"degrees","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field",{"symbol-placement":"line"}]},"text-rotate":{"type":"number","default":0,"period":360,"units":"degrees","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-padding":{"type":"number","default":2,"minimum":0,"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-keep-upright":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":true,"requires":["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":"line"}]},"text-transform":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["none","uppercase","lowercase"],"default":"none","requires":["text-field"]},"text-offset":{"type":"array","value":"number","units":"ems","function":"interpolated","zoom-function":true,"property-function":true,"length":2,"default":[0,0],"requires":["text-field"]},"text-allow-overlap":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field"]},"text-ignore-placement":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field"]},"text-optional":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field","icon-image"]},"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_raster":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"filter":{"type":"array","value":"*"},"filter_operator":{"type":"enum","values":["==","!=",">",">=","<","<=","in","!in","all","any","none","has","!has"]},"geometry_type":{"type":"enum","values":["Point","LineString","Polygon"]},"color_operation":{"type":"enum","values":["lighten","saturate","spin","fade","mix"]},"function":{"stops":{"type":"array","required":true,"value":"function_stop"},"base":{"type":"number","default":1,"minimum":0},"property":{"type":"string","default":"$zoom"},"type":{"type":"enum","values":["exponential","interval","categorical"],"default":"exponential"}},"function_stop":{"type":"array","minimum":0,"maximum":22,"value":["number","color"],"length":2},"paint":["paint_fill","paint_line","paint_circle","paint_symbol","paint_raster","paint_background"],"paint_fill":{"fill-antialias":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":true},"fill-opacity":{"type":"number","function":"interpolated","zoom-function":true,"property-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"fill-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"fill-pattern"}]},"fill-outline-color":{"type":"color","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"fill-pattern"},{"fill-antialias":true}]},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"fill-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["fill-translate"]},"fill-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"transition":true}},"paint_line":{"line-opacity":{"type":"number","function":"interpolated","zoom-function":true,"property-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"line-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"line-pattern"}]},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["line-translate"]},"line-width":{"type":"number","default":1,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-gap-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-offset":{"type":"number","default":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-dasharray":{"type":"array","value":"number","function":"piecewise-constant","zoom-function":true,"property-function":true,"minimum":0,"transition":true,"units":"line widths","requires":[{"!":"line-pattern"}]},"line-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"transition":true}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"circle-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-blur":{"type":"number","default":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"circle-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["circle-translate"]}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-halo-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["icon-image","icon-translate"]},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-halo-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-halo-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["text-field","text-translate"]}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-hue-rotate":{"type":"number","default":0,"period":360,"function":"interpolated","zoom-function":true,"transition":true,"units":"degrees"},"raster-brightness-min":{"type":"number","function":"interpolated","zoom-function":true,"default":0,"minimum":0,"maximum":1,"transition":true},"raster-brightness-max":{"type":"number","function":"interpolated","zoom-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"function":"interpolated","zoom-function":true,"transition":true,"units":"milliseconds"}},"paint_background":{"background-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"transition":true,"requires":[{"!":"background-pattern"}]},"background-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"transition":true},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true}},"transition":{"duration":{"type":"number","default":300,"minimum":0,"units":"milliseconds"},"delay":{"type":"number","default":0,"minimum":0,"units":"milliseconds"}}}
{"$version":8,"$root":{"version":{"required":true,"type":"enum","values":[8]},"name":{"type":"string"},"metadata":{"type":"*"},"center":{"type":"array","value":"number"},"zoom":{"type":"number"},"bearing":{"type":"number","default":0,"period":360,"units":"degrees"},"pitch":{"type":"number","default":0,"units":"degrees"},"sources":{"required":true,"type":"sources"},"sprite":{"type":"string"},"glyphs":{"type":"string"},"transition":{"type":"transition"},"layers":{"required":true,"type":"array","value":"layer"}},"sources":{"*":{"type":"source"}},"source":["source_tile","source_geojson","source_video","source_image"],"source_tile":{"type":{"required":true,"type":"enum","values":["vector","raster"]},"url":{"type":"string"},"tiles":{"type":"array","value":"string"},"minzoom":{"type":"number","default":0},"maxzoom":{"type":"number","default":22},"tileSize":{"type":"number","default":512,"units":"pixels"},"*":{"type":"*"}},"source_geojson":{"type":{"required":true,"type":"enum","values":["geojson"]},"data":{"type":"*"},"maxzoom":{"type":"number","default":14},"buffer":{"type":"number","default":64},"tolerance":{"type":"number","default":3},"cluster":{"type":"boolean","default":false},"clusterRadius":{"type":"number","default":400},"clusterMaxZoom":{"type":"number"}},"source_video":{"type":{"required":true,"type":"enum","values":["video"]},"urls":{"required":true,"type":"array","value":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"source_image":{"type":{"required":true,"type":"enum","values":["image"]},"url":{"required":true,"type":"string"},"coordinates":{"required":true,"type":"array","length":4,"value":{"type":"array","length":2,"value":"number"}}},"layer":{"id":{"type":"string","required":true},"type":{"type":"enum","values":["fill","line","symbol","circle","raster","background"]},"metadata":{"type":"*"},"ref":{"type":"string"},"source":{"type":"string"},"source-layer":{"type":"string"},"minzoom":{"type":"number","minimum":0,"maximum":22},"maxzoom":{"type":"number","minimum":0,"maximum":22},"interactive":{"type":"boolean","default":false},"filter":{"type":"filter"},"layout":{"type":"layout"},"paint":{"type":"paint"},"paint.*":{"type":"paint"}},"layout":["layout_fill","layout_line","layout_circle","layout_symbol","layout_raster","layout_background"],"layout_background":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_fill":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_circle":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_line":{"line-cap":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["butt","round","square"],"default":"butt"},"line-join":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["bevel","round","miter"],"default":"miter"},"line-miter-limit":{"type":"number","default":2,"function":"interpolated","zoom-function":true,"property-function":true,"requires":[{"line-join":"miter"}]},"line-round-limit":{"type":"number","default":1.05,"function":"interpolated","zoom-function":true,"property-function":true,"requires":[{"line-join":"round"}]},"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_symbol":{"symbol-placement":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["point","line"],"default":"point"},"symbol-spacing":{"type":"number","default":250,"minimum":1,"function":"interpolated","zoom-function":true,"property-function":true,"units":"pixels","requires":[{"symbol-placement":"line"}]},"symbol-avoid-edges":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false},"icon-allow-overlap":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image"]},"icon-ignore-placement":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image"]},"icon-optional":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image","text-field"]},"icon-rotation-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"viewport","requires":["icon-image"]},"icon-size":{"type":"number","default":1,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image"]},"icon-text-fit":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":false,"values":["none","both","width","height"],"default":"none","requires":["icon-image","text-field"]},"icon-text-fit-padding":{"type":"array","value":"number","length":4,"default":[0,0,0,0],"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image","icon-text-fit","text-field"]},"icon-image":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"tokens":true},"icon-rotate":{"type":"number","default":0,"period":360,"function":"interpolated","zoom-function":true,"property-function":true,"units":"degrees","requires":["icon-image"]},"icon-padding":{"type":"number","default":2,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"units":"pixels","requires":["icon-image"]},"icon-keep-upright":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["icon-image",{"icon-rotation-alignment":"map"},{"symbol-placement":"line"}]},"icon-offset":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"requires":["icon-image"]},"text-pitch-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"requires":["text-field"]},"text-rotation-alignment":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"viewport","requires":["text-field"]},"text-field":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":"","tokens":true},"text-font":{"type":"array","value":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":["Open Sans Regular","Arial Unicode MS Regular"],"requires":["text-field"]},"text-size":{"type":"number","default":16,"minimum":0,"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-max-width":{"type":"number","default":10,"minimum":0,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-line-height":{"type":"number","default":1.2,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-letter-spacing":{"type":"number","default":0,"units":"em","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-justify":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["left","center","right"],"default":"center","requires":["text-field"]},"text-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],"default":"center","requires":["text-field"]},"text-max-angle":{"type":"number","default":45,"units":"degrees","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field",{"symbol-placement":"line"}]},"text-rotate":{"type":"number","default":0,"period":360,"units":"degrees","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-padding":{"type":"number","default":2,"minimum":0,"units":"pixels","function":"interpolated","zoom-function":true,"property-function":true,"requires":["text-field"]},"text-keep-upright":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":true,"requires":["text-field",{"text-rotation-alignment":"map"},{"symbol-placement":"line"}]},"text-transform":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["none","uppercase","lowercase"],"default":"none","requires":["text-field"]},"text-offset":{"type":"array","value":"number","units":"ems","function":"interpolated","zoom-function":true,"property-function":true,"length":2,"default":[0,0],"requires":["text-field"]},"text-allow-overlap":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field"]},"text-ignore-placement":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field"]},"text-optional":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":false,"requires":["text-field","icon-image"]},"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"layout_raster":{"visibility":{"type":"enum","function":"piecewise-constant","zoom-function":true,"values":["visible","none"],"default":"visible"}},"filter":{"type":"array","value":"*"},"filter_operator":{"type":"enum","values":["==","!=",">",">=","<","<=","in","!in","all","any","none","has","!has"]},"geometry_type":{"type":"enum","values":["Point","LineString","Polygon"]},"color_operation":{"type":"enum","values":["lighten","saturate","spin","fade","mix"]},"function":{"stops":{"type":"array","required":true,"value":"function_stop"},"base":{"type":"number","default":1,"minimum":0},"property":{"type":"string","default":"$zoom"},"type":{"type":"enum","values":["exponential","interval","categorical"],"default":"exponential"}},"function_stop":{"type":"array","minimum":0,"maximum":22,"value":["number","color"],"length":2},"paint":["paint_fill","paint_line","paint_circle","paint_symbol","paint_raster","paint_background"],"paint_fill":{"fill-antialias":{"type":"boolean","function":"piecewise-constant","zoom-function":true,"property-function":true,"default":true},"fill-opacity":{"type":"number","function":"interpolated","zoom-function":true,"property-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"fill-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"fill-pattern"}]},"fill-outline-color":{"type":"color","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"fill-pattern"},{"fill-antialias":true}]},"fill-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"fill-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["fill-translate"]},"fill-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"transition":true}},"paint_line":{"line-opacity":{"type":"number","function":"interpolated","zoom-function":true,"property-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"line-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":[{"!":"line-pattern"}]},"line-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["line-translate"]},"line-width":{"type":"number","default":1,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-gap-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-offset":{"type":"number","default":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"line-dasharray":{"type":"array","value":"number","function":"piecewise-constant","zoom-function":true,"property-function":true,"minimum":0,"transition":true,"units":"line widths","requires":[{"!":"line-pattern"}]},"line-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"property-function":true,"transition":true}},"paint_circle":{"circle-radius":{"type":"number","default":5,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"circle-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-blur":{"type":"number","default":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true},"circle-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels"},"circle-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["circle-translate"]},"circle-pitch-scale":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map"}},"paint_symbol":{"icon-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["icon-image"]},"icon-halo-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-halo-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["icon-image"]},"icon-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["icon-image","icon-translate"]},"text-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-halo-color":{"type":"color","default":"rgba(0, 0, 0, 0)","function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"requires":["text-field"]},"text-halo-width":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-halo-blur":{"type":"number","default":0,"minimum":0,"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-translate":{"type":"array","value":"number","length":2,"default":[0,0],"function":"interpolated","zoom-function":true,"property-function":true,"transition":true,"units":"pixels","requires":["text-field"]},"text-translate-anchor":{"type":"enum","function":"piecewise-constant","zoom-function":true,"property-function":true,"values":["map","viewport"],"default":"map","requires":["text-field","text-translate"]}},"paint_raster":{"raster-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-hue-rotate":{"type":"number","default":0,"period":360,"function":"interpolated","zoom-function":true,"transition":true,"units":"degrees"},"raster-brightness-min":{"type":"number","function":"interpolated","zoom-function":true,"default":0,"minimum":0,"maximum":1,"transition":true},"raster-brightness-max":{"type":"number","function":"interpolated","zoom-function":true,"default":1,"minimum":0,"maximum":1,"transition":true},"raster-saturation":{"type":"number","default":0,"minimum":-1,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-contrast":{"type":"number","default":0,"minimum":-1,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true},"raster-fade-duration":{"type":"number","default":300,"minimum":0,"function":"interpolated","zoom-function":true,"transition":true,"units":"milliseconds"}},"paint_background":{"background-color":{"type":"color","default":"#000000","function":"interpolated","zoom-function":true,"transition":true,"requires":[{"!":"background-pattern"}]},"background-pattern":{"type":"string","function":"piecewise-constant","zoom-function":true,"transition":true},"background-opacity":{"type":"number","default":1,"minimum":0,"maximum":1,"function":"interpolated","zoom-function":true,"transition":true}},"transition":{"duration":{"type":"number","default":300,"minimum":0,"units":"milliseconds"},"delay":{"type":"number","default":0,"minimum":0,"units":"milliseconds"}}}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc