Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add regression test for mapbox/mapbox-gl-native#9792
- Loading branch information
1 parent
9781e79
commit e4b78f2
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
Binary file added
BIN
+143 Bytes
test/integration/render-tests/regressions/mapbox-gl-native#9792/expected.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 56 additions & 0 deletions
56
test/integration/render-tests/regressions/mapbox-gl-native#9792/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,56 @@ | ||
{ | ||
"version": 8, | ||
"metadata": { | ||
"test": { | ||
"width": 64, | ||
"height": 64 | ||
} | ||
}, | ||
"sources": { | ||
"geojson": { | ||
"type": "geojson", | ||
"data": { | ||
"type": "FeatureCollection", | ||
"features": [ | ||
{ | ||
"type": "Feature", | ||
"properties": { | ||
"icon": "marker" | ||
}, | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [ | ||
-10, | ||
0 | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "Feature", | ||
"properties": { | ||
"icon": "nonesuch" | ||
}, | ||
"geometry": { | ||
"type": "Point", | ||
"coordinates": [ | ||
10, | ||
0 | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
}, | ||
"sprite": "local://sprites/light", | ||
"layers": [ | ||
{ | ||
"id": "symbol", | ||
"type": "symbol", | ||
"source": "geojson", | ||
"layout": { | ||
"icon-image": "{icon}" | ||
} | ||
} | ||
] | ||
} |