Open jdcarls2 opened 5 months ago
This is a common problem, and I think the cause is that the PBF files from tippecanoe are normally GZipped, and but your web server does not add the "content-type: application/gzip" header which means the browser does not unzip them, so the javascript mapping library is trying to read a .gz byte stream instead of a PBF byte stream. Either don't use the zip option in tippecanoe, or else add the "content type' header when you serve the files.
I have a pretty standard process.
When my output is a PMTiles file, it loads fine. When output to MBTiles or a directory of PBF files, nothing renders in the map. In Firefox, I see messages like these:
Here's one of the tiles, if you want to see it. The file opens in Q just fine.