Skip to content

Commit

Permalink
Add test case for mapbox/mapbox-gl-js#2762
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Jun 20, 2016
1 parent 47fba54 commit d9446fc
Show file tree
Hide file tree
Showing 2 changed files with 54 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.
54 changes: 54 additions & 0 deletions render-tests/regressions/mapbox-gl-js#2762/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"version": 8,
"metadata": {
"test": {
"operations": [
[
"setPaintProperty",
"text",
"text-translate",
[
50,
50
]
],
[
"wait"
]
]
}
},
"sources": {
"geojson": {
"type": "geojson",
"data": {
"type": "Point",
"coordinates": [
0,
0
]
}
}
},
"glyphs": "local://glyphs/{fontstack}/{range}.pbf",
"layers": [
{
"id": "text",
"type": "symbol",
"source": "geojson",
"layout": {
"text-field": "Test",
"text-font": [
"Open Sans Semibold",
"Arial Unicode MS Bold"
]
},
"paint": {
"text-translate": [
0,
0
]
}
}
]
}

0 comments on commit d9446fc

Please sign in to comment.