Skip to content

Commit 987ded3

Browse files
mournergithub-actions[bot]
authored andcommitted
Fix raster array not working on iOS < 18.4
GitOrigin-RevId: 90d7bd481bd613af07d313488d3e93f23eff6cad
1 parent 10ed84a commit 987ded3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/source/raster_array_tile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ class RasterArrayTile extends Tile implements Tile {
235235
return;
236236
}
237237

238-
taskInQueue.values().forEach((cb) => cb(null, result));
238+
taskInQueue.forEach((cb) => cb(null, result));
239239
this._taskQueue.delete(taskQueueId);
240240
};
241241

@@ -288,7 +288,7 @@ class RasterArrayTile extends Tile implements Tile {
288288
}
289289

290290
if (mrtLayer.hasDataForBand(band)) {
291-
taskInQueue.values().forEach((cb) => cb(null, null));
291+
taskInQueue.forEach((cb) => cb(null, null));
292292
this._taskQueue.delete(taskQueueId);
293293
return;
294294
}

0 commit comments

Comments
 (0)