Skip to content

SubsurfaceViewer: pickingRadius not working with overlapping layers #2320

@rubenthoms

Description

@rubenthoms

I tested the pickingRadius prop from deck.gl with the WellsLayer and it is working nicely as long as there is only one layer under the cursor. As soon as multiple layers are overlapping at the cursor's position, the pickingRadius gets completely ignored. I have so far only tested with a WellsLayer on top of either a MapLayer, ColormapLayer or a Grid3DLayer.

Moreover, there seems to be an issue with Picking and pickingRadius. Whenever I approach a wellbore with the cursor and get into the pickingRadius there is no picking information provided anymore. I still get the tooltip but no readout. As soon as I enter the actual wellbore path, the picking information is showing up again.

Both issues can be reproduced by looking at:
https://equinor.github.io/webviz-subsurface-components/storybook-static/?path=/story/subsurfaceviewer-wells-layer--volve-wells&args=pickingRadius:10

For the first one, you can for instance add the MapLayer from the Map Layer 2 D example:
Image

I am wondering if these are issues on our side or if I should report this in the deck.gl repo. I would appreciate hearing your thoughts on this matter, @hkfb @w1nklr @nilscb.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Backlog 📝

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions