Closed symonsoft closed 5 years ago
I found the similar problem reported at https://github.com/mapbox/tippecanoe/issues/582
By default tippecanoe
creates gzip-compressed tiles, but L.vectorGrid.protobuf relies on uncompressed.
Running tippecanoe
with --no-tile-compression
option solved the problem.
@symonsoft I deflate application/json on my server, any idea to deal with this limitation? Thanks for your help
I use mapbox/tippecanoe to create .pbf tiles. But when I try to display them using L.vectorGrid.protobuf nothing is rendered, although I see that proper .pbf files are requested and downloaded by browser.
I suspect that missing options parameter is the root of the problem but I am not sure:
Is it necessary to set options if I want just display vector layer represented by single polygon?