Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] PickMultipleObjects Returning the Same Objects Repeated With MVT Layer #9228

Open
2 of 7 tasks
aemonm opened this issue Oct 28, 2024 · 0 comments
Open
2 of 7 tasks
Labels

Comments

@aemonm
Copy link

aemonm commented Oct 28, 2024

Description

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.

Steps to Reproduce

See https://codepen.io/acdanger/pen/YzmebXr

Environment

  • Framework version: ~9.0.0
  • Browser: Chrome
  • OS: macOS

Logs

No response

@aemonm aemonm added the bug label Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant