New viewer [#49] (#549)

app: Rewrite of PMTiles viewer (pmtiles.io) [#49, #551, #555, #556]

* Rewrite the app using SolidJS / Tailwind.
* Make the map view mobile friendly.
* Add an archive inspector for viewing the low level structure of PMTiles.
* Add a tile inspector for viewing a single tile in isolation. 
* Support TileJSON.
* Support raster archives.
This commit is contained in:
Brandon Liu
2025-04-22 11:05:19 +08:00
committed by GitHub
parent c9b7f73f28
commit 731f03d325
34 changed files with 4786 additions and 4032 deletions

View File

@@ -1,13 +1,17 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" href="data:,">
<meta name="theme-color" content="#3131DC"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PMTiles Viewer</title>
<title>PMTiles viewer</title>
<link rel="preconnect" href="https://api.protomaps.com"/>
<link rel="preconnect" href="https://protomaps.github.io"/>
<link rel="preconnect" href="https://unpkg.com"/>
<link rel="preconnect" href="https://demo-bucket.protomaps.com"/>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/MapView.tsx"></script>
<script type="module" src="/src/PageMap.tsx"></script>
</body>
</html>