Return 1px transparent empty tile

This commit is contained in:
Tom Russell 2019-04-27 13:35:11 +01:00
parent c45394cbb2
commit 0709deae83

View File

@ -132,8 +132,8 @@ function outside_extent(z, x, y) {
function empty_tile() {
return sharp({
create: {
width: TILE_SIZE,
height: TILE_SIZE,
width: 1,
height: 1,
channels: 4,
background: { r: 0, g: 0, b: 0, alpha: 0 }
}