viewer: surface more header data [#49]

This commit is contained in:
Brandon Liu
2022-12-02 23:20:19 +08:00
parent 37012d28c0
commit ca4c8094a8
2 changed files with 29 additions and 4 deletions

View File

@@ -326,7 +326,7 @@ function Inspector(props: { file: PMTiles }) {
let tilePreview = <div></div>;
if (selectedEntry && header?.tileType) {
if (selectedEntry.runLength === 0) {
console.log("Display leaf dir view");
// do nothing
} else if (header.tileType === TileType.Mvt) {
tilePreview = (
<VectorPreview