mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
viewer: fix tile inspector tabs [#49]
This commit is contained in:
@@ -56,7 +56,7 @@ const TileRow = (props: {
|
|||||||
<td>{y}</td>
|
<td>{y}</td>
|
||||||
<td>{props.entry.offset}</td>
|
<td>{props.entry.offset}</td>
|
||||||
<td>{props.entry.length}</td>
|
<td>{props.entry.length}</td>
|
||||||
<td>{props.entry.runLength}</td>
|
<td>{props.entry.runLength == 0 ? "directory" : "tile"}</td>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -318,12 +318,13 @@ function Inspector(props: { file: PMTiles }) {
|
|||||||
<table>
|
<table>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
<th>tileid</th>
|
||||||
<th>z</th>
|
<th>z</th>
|
||||||
<th>x</th>
|
<th>x</th>
|
||||||
<th>y</th>
|
<th>y</th>
|
||||||
<th>offset</th>
|
<th>offset</th>
|
||||||
<th>length</th>
|
<th>length</th>
|
||||||
<th>is directory</th>
|
<th>type</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>{rows}</tbody>
|
<tbody>{rows}</tbody>
|
||||||
|
|||||||
Reference in New Issue
Block a user