You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.
When loading the tiles from cache sometimes a CustomPouchError can arise after this._db.getAttachment, Error data:
status: 404, name: "not_found", message: "missing", error: true} This causes some tiles to fail to load, around 10% especially around the perimeter of the map after intitial loading.
Not sure if this relates to EPSG basemaps and the issue here: #25. I am having the issue with a UK OS basemap EPSG:3857. I am not using any variable access tokens in the request URLs as far as i can see they are consistent other than the standard &TileMatrix=EPSG:3857:{z}&TileRow={y}&TileCol={x}.
My (temporary) fix is adding a catch block after the this._db.getAttachment promise call and in that firing _onCacheMiss(tile, tileUrl, done); instead.
When loading the tiles from cache sometimes a CustomPouchError can arise after this._db.getAttachment, Error data:
status: 404, name: "not_found", message: "missing", error: true}
This causes some tiles to fail to load, around 10% especially around the perimeter of the map after intitial loading.Not sure if this relates to EPSG basemaps and the issue here: #25. I am having the issue with a UK OS basemap EPSG:3857. I am not using any variable access tokens in the request URLs as far as i can see they are consistent other than the standard
&TileMatrix=EPSG:3857:{z}&TileRow={y}&TileCol={x}
.My (temporary) fix is adding a catch block after the this._db.getAttachment promise call and in that firing _onCacheMiss(tile, tileUrl, done); instead.
versions:
"leaflet": "^1.6.0",
"leaflet.tilelayer.pouchdbcached": "^1.0.0",
"pouchdb-browser": "^7.2.2",
Though i have tried with "pouchdb" and fixed to 7.0.0 instead
The text was updated successfully, but these errors were encountered: