-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aade880
commit 8f6fb77
Showing
8 changed files
with
57 additions
and
8 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
49 changes: 49 additions & 0 deletions
49
test/integration/render-tests/image/raster-scaling/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,49 @@ | ||
{ | ||
"version": 8, | ||
"metadata": { | ||
"test": { | ||
"width": 512, | ||
"height": 512 | ||
} | ||
}, | ||
"center": [ | ||
-122.514426, | ||
37.562984 | ||
], | ||
"zoom": 20, | ||
"sources": { | ||
"image": { | ||
"type": "image", | ||
"coordinates": [ | ||
[ | ||
-122.51596391201019, | ||
37.56238816766053 | ||
], | ||
[ | ||
-122.51467645168304, | ||
37.56410183312965 | ||
], | ||
[ | ||
-122.51309394836426, | ||
37.563391708549425 | ||
], | ||
[ | ||
-122.51423120498657, | ||
37.56161849366671 | ||
] | ||
], | ||
"url": "local://image/0.png" | ||
} | ||
}, | ||
"layers": [ | ||
{ | ||
"id": "image", | ||
"type": "raster", | ||
"source": "image", | ||
"paint": { | ||
"raster-fade-duration": 0, | ||
"raster-scaling": "nearest" | ||
} | ||
} | ||
] | ||
} |
Binary file modified
BIN
-225 KB
(24%)
test/integration/render-tests/raster-scaling/default/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file modified
BIN
-302 KB
(0.89%)
test/integration/render-tests/raster-scaling/function/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Binary file modified
BIN
-293 KB
(0.92%)
test/integration/render-tests/raster-scaling/literal/expected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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