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

How to remove many excepition tips in console

Open liyihongcug opened this issue 4 years ago • 3 comments

Errors are below var vectorTile = new L.vectorGrid.protobuf(vectorLayerUrl, getVectorOptions('name

Google browser said it can't find some pbf file but That can't impact web applicton which run normally. But whether can Those terrible tip be removed in order to good user experience?

liyihongcug avatar Jun 24 '20 10:06 liyihongcug

I do not understand what you mean.

IvanSanchez avatar Jun 24 '20 11:06 IvanSanchez

leaflet.html:1 Uncaught (in promise) TypeError: Failed to fetch------------- console information Promise.then (async) createTile @ Leaflet.VectorGrid.js:362 _addTile @ leaflet.js:5 _update @ leaflet.js:5 _setView @ leaflet.js:5 _resetView @ leaflet.js:5 onAdd @ leaflet.js:5 _layerAdd @ leaflet.js:5 whenReady @ leaflet.js:5 addLayer @ leaflet.js:5 addTo @ leaflet.js:5 (anonymous) @ leaflethtml:432

liyihongcug avatar Jun 25 '20 01:06 liyihongcug

So, what resource did it failed to fetch? Network monitor and browser debugging tools are your friends.

IvanSanchez avatar Jun 25 '20 09:06 IvanSanchez