Small bugfix.

This commit is contained in:
Noenandre
2023-03-09 16:39:06 +01:00
parent e33279bb4a
commit 2d74e4fde5
+1 -1
View File
@@ -113,7 +113,7 @@ function loadWFSLayer(projection, layername, tiles) {
async function loadTile(cache, layername, tile) {
const bbox = tile.extent.bbox();
const tileid = tile.id;
if (cache.loaded.has(tileid) || cache.inflight.has(tileid)) return;
if ((cache.loaded.get(tileid) === true) || cache.inflight.has(tileid)) return;
const params = {
service: 'WFS',