When i try to add the tiles in openLayers, i have the following error :
index.js:211 Uncaught Error: Unimplemented type: 3
at Pbf.skip (index.js:211:20)
at Pbf.readFields (index.js:46:45)
at layersPBFReader (MVT.js:318:9)
at Pbf.readFields (index.js:44:13)
at MVT.readFeatures (MVT.js:260:27)
at xhr2.onload (featureloader.js:107:20)
I have an OpenLayers project which should run only on local.
I downloaded the experimental vector tile package over Niger from geofabrik (https://download.geofabrik.de/africa/niger-shortbread-1.0.tar.gz). and unzipped the file in /src/data/vectorTiles.
When i try to add the tiles in openLayers, i have the following error :
Here is my openLayers code :
for information my layerParam.url is 'src/data/vectorTiles/vector/{z}/{x}/{y}.pbf'.
Any idea on how to correct it ?