protomaps/PMTiles ? reverse-engineered prompt

Reverse engineered prompt

Build me a PMTiles viewer and demo site that can open a local PMTiles file or load one from a URL, then show it on an interactive map. I want to be able to pan, zoom, and inspect the tiles easily, with a simple way to preview vector tile archives and see if they’re working.

Please also include a few small examples for using the archive in common web map setups, and make sure the app is set up so it can work with files hosted on static storage like S3 or similar. If you need to look up current docs online, go ahead.

Keep it simple, clean, and focused on helping someone view and test PMTiles quickly, with clear instructions for how to run it locally and how to point it at a remote archive.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab