add line-opacity and text-size fixtures

This commit is contained in:
Mike Morris
2014-07-18 17:47:30 -04:00
parent 6d93d7286c
commit 75f9976f68
6 changed files with 56 additions and 10 deletions

View File

@@ -1,9 +0,0 @@
{
"default": {
"log": [
[84, "WARNING", "ParseStyle", "value of 'line-width' must be a number, or a number function"],
[6, "WARNING", "ParseStyle", "value of 'line-opacity' must be a number, or a number function"],
[12, "WARNING", "ParseStyle", "value of 'text-size' must be a number, or a number function"]
]
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,7 @@
{
"default": {
"log": [
[1, "WARNING", "ParseStyle", "value of 'line-opacity' must be a number, or a number function"]
]
}
}

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": "contour_line_loud",
"source": "mapbox",
"source-layer": "contour",
"filter": { "index": 5 },
"type": "line",
"style": {
"line-color": "#008",
"line-width": 0.9,
"line-opacity": null
}
}]
}

View File

@@ -0,0 +1,7 @@
{
"default": {
"log": [
[1, "WARNING", "ParseStyle", "value of 'text-size' must be a number, or a number function"]
]
}
}

View File

@@ -0,0 +1,20 @@
{
"version": 3,
"sources": {
"mapbox": {
"type": "vector",
"url": "mapbox://mapbox.mapbox-terrain-v1,mapbox.mapbox-streets-v5",
"maxZoom": 14
}
},
"layers": [{
"id": "country_label",
"source": "mapbox",
"source-layer": "country_label",
"filter": { "$type": "Point" },
"type": "text",
"style": {
"text-size": null
}
}]
}