handle empty reproj tiles
This commit is contained in:
@@ -181,7 +181,10 @@ class CanvasTileLayerRenderer extends CanvasLayerRenderer {
|
|||||||
pixelRatio,
|
pixelRatio,
|
||||||
projection
|
projection
|
||||||
);
|
);
|
||||||
if (!(tile instanceof ImageTile || tile instanceof ReprojTile)) {
|
if (
|
||||||
|
!(tile instanceof ImageTile || tile instanceof ReprojTile) ||
|
||||||
|
(tile instanceof ReprojTile && tile.getState() === TileState.EMPTY)
|
||||||
|
) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user