You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I understand the picking mechanism correctly, the _pickClosestObject will render a square patch (pickingRadius x pickingRadius) of the picking buffer and find the non-null pixel closest to the center of the patch.
In case we have overlapping objects, the object in front will not get "expanded" as pickingRadius would suggest, rather the closest object will be picked regardless of which one is in front.
This means the behavior is just as if we had pickingRadius = 0.
Is there a simple way to fix this? The use case is very common, I believe: ScatterplotLayer on top of a TileLayer.
Flavors
Script tag
React
Python/Jupyter notebook
MapboxOverlay
GoogleMapsOverlay
CartoLayer
ArcGIS
Expected Behavior
No response
Steps to Reproduce
I will come up with an example if the problem is unclear.
Environment
Framework version: v9.0.36
Browser: Chrome
OS: MacOS
Logs
No response
The text was updated successfully, but these errors were encountered:
Description
If I understand the picking mechanism correctly, the
_pickClosestObject
will render a square patch (pickingRadius x pickingRadius
) of the picking buffer and find the non-null pixel closest to the center of the patch.In case we have overlapping objects, the object in front will not get "expanded" as
pickingRadius
would suggest, rather the closest object will be picked regardless of which one is in front.This means the behavior is just as if we had
pickingRadius = 0
.Is there a simple way to fix this? The use case is very common, I believe:
ScatterplotLayer
on top of aTileLayer
.Flavors
Expected Behavior
No response
Steps to Reproduce
I will come up with an example if the problem is unclear.
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: