Skip to content

Commit ba1a232

Browse files
committed
Add test case for mapbox/mapbox-gl-js#2762
1 parent 47fba54 commit ba1a232

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"version": 8,
3+
"metadata": {
4+
"test": {
5+
"operations": [
6+
[
7+
"setPaintProperty",
8+
"text",
9+
"text-translate",
10+
[
11+
50,
12+
50
13+
]
14+
],
15+
[
16+
"wait"
17+
]
18+
]
19+
}
20+
},
21+
"sources": {
22+
"geojson": {
23+
"type": "geojson",
24+
"data": {
25+
"type": "Point",
26+
"coordinates": [
27+
0,
28+
0
29+
]
30+
}
31+
}
32+
},
33+
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
34+
"layers": [
35+
{
36+
"id": "text",
37+
"type": "symbol",
38+
"source": "geojson",
39+
"layout": {
40+
"text-field": "Test",
41+
"text-font": [
42+
"Open Sans Semibold",
43+
"Arial Unicode MS Bold"
44+
]
45+
}
46+
}
47+
]
48+
}

0 commit comments

Comments
 (0)