add stops-array fixture

This commit is contained in:
Mike Morris
2014-07-18 17:38:40 -04:00
parent 30dc4055ca
commit 6d93d7286c
2 changed files with 29 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
{
"default": {
"log": [
[1, "WARNING", "ParseStyle", "stops function must specify a stops array"]
]
}
}

View File

@@ -0,0 +1,22 @@
{
"version": 3,
"sources": {
"mapbox": {
"type": "vector",
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5",
"maxZoom": 14
}
},
"layers": [{
"id": "waterway_river_canal",
"source": "mapbox",
"source-layer": "waterway",
"filter": { "type": ["river", "canal"] },
"type": "line",
"style": {
"line-width": {
"stops": null
}
}
}]
}