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
If the requested tile is null (so tileIndexes[layer].getTile(z, x, y) is not finding the tile in tileIndexes) there also should be a response not only return in the Express route otherwise the browser is stuck in a pending request.
If the requested tile is
null
(sotileIndexes[layer].getTile(z, x, y)
is not finding the tile intileIndexes
) there also should be a response not onlyreturn
in theExpress route
otherwise the browser is stuck in a pending request.E.g.
app.get("/:layer/:z/:x/:y...", (req, res) => { const { tile } = getTile(req, res); if (!tile || !tile.features) { + res.sendStatus(404); return; } ... });
I think this would also be good for
*..geojson
It there are no features in the title, this should maybe be extra handled mapbox/mapbox-gl-js#9304
The text was updated successfully, but these errors were encountered: