mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
viewer: surface more header data [#49]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user