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
Using pickMultipleObjects is returning the same objects duplicated up to the limit specified by depth in the MVT Layer.
See this pen and observe the console output when clicking on objects in the map.
In addition - and I haven't been able to repeat this in the provided codepen yet - in our production app, pickMultipleObjects is returning objects that are far from the coordinates specified by x and y. You can see this occurring here by clicking around the Brazilian cost - notice sometimes results will be returned in the popup far from the clicked area.
Flavors
Script tag
React
Python/Jupyter notebook
MapboxOverlay
GoogleMapsOverlay
CartoLayer
ArcGIS
Expected Behavior
Only one copy of each object should be returned when using pickMultipleObjects.
Description
Using
pickMultipleObjects
is returning the same objects duplicated up to the limit specified bydepth
in the MVT Layer.See this pen and observe the console output when clicking on objects in the map.
In addition - and I haven't been able to repeat this in the provided codepen yet - in our production app,
pickMultipleObjects
is returning objects that are far from the coordinates specified by x and y. You can see this occurring here by clicking around the Brazilian cost - notice sometimes results will be returned in the popup far from the clicked area.Flavors
Expected Behavior
Only one copy of each object should be returned when using
pickMultipleObjects
.Steps to Reproduce
See https://codepen.io/acdanger/pen/YzmebXr
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: