@deck.gl/geo-layers 9.0.0-beta.10 → 9.0.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1542,21 +1542,18 @@ var _TileLayer = class extends import_core5.CompositeLayer {
1542
1542
  return null;
1543
1543
  }
1544
1544
  getPickingInfo(params) {
1545
- const sourceTile = params.sourceLayer.props.tile;
1545
+ const sourceLayer = params.sourceLayer;
1546
+ const sourceTile = sourceLayer.props.tile;
1546
1547
  const info = params.info;
1547
1548
  if (info.picked) {
1548
1549
  info.tile = sourceTile;
1549
1550
  }
1550
1551
  info.sourceTile = sourceTile;
1552
+ info.sourceTileSubLayer = sourceLayer;
1551
1553
  return info;
1552
1554
  }
1553
1555
  _updateAutoHighlight(info) {
1554
- const sourceTile = info.sourceTile;
1555
- if (sourceTile && sourceTile.layers) {
1556
- for (const layer of sourceTile.layers) {
1557
- layer.updateAutoHighlight(info);
1558
- }
1559
- }
1556
+ info.sourceTileSubLayer.updateAutoHighlight(info);
1560
1557
  }
1561
1558
  renderLayers() {
1562
1559
  return this.state.tileset.tiles.map((tile) => {