Skip to content

Commit 6165727

Browse files
authored
Rasters: Add tileSize to TileJSON (#1559)
* Rasters: Add `tileSize` to TileJSON * Rasters: Add `tileSize` to TileJSON (and lint) * Rasters: Add `tileSize` to TileJSON (and lint, take two)
1 parent c9258ba commit 6165727

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/serve_rendered.js

+1
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,7 @@ export const serve_rendered = {
10051005
);
10061006
}
10071007
const info = clone(item.tileJSON);
1008+
info.tileSize = tileSize != undefined ? tileSize : 256;
10081009
info.tiles = getTileUrls(
10091010
req,
10101011
info.tiles,

0 commit comments

Comments
 (0)