Skip to content

Commit

Permalink
Unit test geojson source with fractional minzoom on layer
Browse files Browse the repository at this point in the history
  • Loading branch information
Asheem Mamoowala committed Jul 25, 2017
1 parent 631315d commit 8ddc54d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512
}
},
"center": [
-77.0424,
38.90924
],
"zoom": 18.9,
"sources": {
"geojson": {
"type": "geojson",
"data": "local://data/feature.geojson"
}
},
"layers": [
{
"id": "line",
"type": "line",
"source": "geojson",
"minzoom": 18.5,
"paint": {
"line-color": "#EC8D8D",
"line-width": 4
}
}
]
}

0 comments on commit 8ddc54d

Please sign in to comment.