Leaflet.VectorGrid icon indicating copy to clipboard operation
Leaflet.VectorGrid copied to clipboard

Some tiles not rendering

Open jbogdani opened this issue 3 years ago • 2 comments

Hello, I'm having issues with some tiles in some zoom layers not rendering. I'm running Leaflet.VectorGrid.bundled v. 1.3.0 and Leaflet 1.7.1 and I'm getting in the console the following error messages (eg.: https://xyz.paths-erc.eu/paths-places-68/):

Uncaught (in promise) Error: unknown command 3
    at VectorTileFeature$2.loadGeometry (vectortilefeature.js:81)
    at Leaflet.VectorGrid.Protobuf.js:141
Uncaught (in promise) Error: unknown command 4
    at VectorTileFeature$2.loadGeometry (vectortilefeature.js:81)
    at Leaflet.VectorGrid.Protobuf.js:141

and

Uncaught (in promise) Error: unknown command 0
    at VectorTileFeature$2.loadGeometry (vectortilefeature.js:81)
    at Leaflet.VectorGrid.Protobuf.js:141

PBFs are created with QGIS, and I'm able to correctly load single tiles, for each zoom layer, so I guess the issue is with the visualization, but any hint about further debugging is most welcomed.

I have also tried to reset styling options, obtaining no better results.

image

jbogdani avatar Jul 06 '21 05:07 jbogdani

I have a similar problem: https://timotheebilliet.fr/htdocs/

I don't understand why the tiles won't load properly. I checked on QGIS and the pbf are fine, no tile is missing. There seem to be some very funky errors in the console.

timbtimbtimb avatar Nov 23 '21 14:11 timbtimbtimb

I ended up using maplibre.org which worked wonderfully...

jbogdani avatar Nov 23 '21 14:11 jbogdani