-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit test geojson source with fractional minzoom on layer
- Loading branch information
Asheem Mamoowala
committed
Jul 25, 2017
1 parent
631315d
commit 8ddc54d
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+8.89 KB
test/integration/render-tests/geojson/fractional-minzoom/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions
32
test/integration/render-tests/geojson/fractional-minzoom/style.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
] | ||
} |