Skip to content

Commit ff8fa56

Browse files
author
Asheem Mamoowala
committed
Unit test geojson source with fractional minzoom on layer
1 parent fc6fbd3 commit ff8fa56

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"version": 8,
3+
"metadata": {
4+
"test": {
5+
"width": 512,
6+
"height": 512
7+
}
8+
},
9+
"center": [
10+
-77.0424,
11+
38.90924
12+
],
13+
"zoom": 18.9,
14+
"sources": {
15+
"geojson": {
16+
"type": "geojson",
17+
"data": "local://data/feature.geojson"
18+
}
19+
},
20+
"layers": [
21+
{
22+
"id": "line",
23+
"type": "line",
24+
"source": "geojson",
25+
"minzoom": 18.5,
26+
"paint": {
27+
"line-color": "#EC8D8D",
28+
"line-width": 4
29+
}
30+
}
31+
]
32+
}

0 commit comments

Comments
 (0)