diff --git a/modules/geo-layers/src/tile-layer/tile-layer.ts b/modules/geo-layers/src/tile-layer/tile-layer.ts index 12185e47ec1..6b673b78af6 100644 --- a/modules/geo-layers/src/tile-layer/tile-layer.ts +++ b/modules/geo-layers/src/tile-layer/tile-layer.ts @@ -165,7 +165,7 @@ export default class TileLayer extends } get isLoaded(): boolean { - return this.state?.tileset?.selectedTiles.every( + return this.state?.tileset?.selectedTiles?.every( tile => tile.isLoaded && tile.layers && tile.layers.every(layer => layer.isLoaded) ); }