Do not use tile.load() for getting source tiles
This commit is contained in:
@@ -167,10 +167,9 @@ class VectorRenderTile extends Tile {
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
* @return {Array<import("./VectorTile.js").default>} Source tiles for this tile.
|
||||
*/
|
||||
load() {
|
||||
return this.getSourceTiles_(this);
|
||||
this.getSourceTiles_(this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -243,7 +243,7 @@ class CanvasVectorTileLayerRenderer extends CanvasTileLayerRenderer {
|
||||
const resolution = tileGrid.getResolution(zoom);
|
||||
const tileExtent = tileGrid.getTileCoordExtent(tile.wrappedTileCoord);
|
||||
|
||||
const sourceTiles = tile.load();
|
||||
const sourceTiles = source.getSourceTiles(pixelRatio, projection, tile);
|
||||
const layerUid = getUid(layer);
|
||||
const executorGroups = tile.executorGroups[layerUid];
|
||||
if (executorGroups) {
|
||||
|
||||
Reference in New Issue
Block a user