diff --git a/src/symbol/cross_tile_symbol_index.js b/src/symbol/cross_tile_symbol_index.js index 5d8fcd1a6a6..43d94567a4b 100644 --- a/src/symbol/cross_tile_symbol_index.js +++ b/src/symbol/cross_tile_symbol_index.js @@ -187,7 +187,7 @@ class CrossTileSymbolLayerIndex { const minZoom = Math.min(25, ...(Object.keys(this.indexes): any)); - for (let z = tileID.canonical.z - 1; z >= minZoom; z--) { + for (let z = tileID.overscaledZ - 1; z >= minZoom; z--) { const parentCoord = tileID.scaledTo(z); if (!parentCoord) break; // Flow doesn't know that z >= minZoom would prevent this const parentIndex = this.indexes[z] && this.indexes[z][parentCoord.key];