Skip to content

Commit

Permalink
Add test for pitched and zoomed image source (#5850)
Browse files Browse the repository at this point in the history
  • Loading branch information
Asheem Mamoowala authored Dec 13, 2017
1 parent c112237 commit cca8ba4
Show file tree
Hide file tree
Showing 2 changed files with 37 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.
37 changes: 37 additions & 0 deletions test/integration/render-tests/image/pitched/style.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": 8,
"metadata": {
"test": {
"width": 512,
"height": 512
}
},
"center": [
-79.68916667,
26.68694444
],
"zoom": 12,
"pitch": 60,
"sources": {
"image": {
"type": "image",
"coordinates": [
[-90.24006072802854, 36.928147474567794],
[-75.1441643681673, 36.928147474567794],
[-75.1441643681673, 22.551103322318994],
[-90.24006072802854, 22.551103322318994]
],
"url": "local://image/0.png"
}
},
"layers": [
{
"id": "image",
"type": "raster",
"source": "image",
"paint": {
"raster-fade-duration": 0
}
}
]
}

0 comments on commit cca8ba4

Please sign in to comment.