Performance for the pickMultipleObjects method #9221
Unanswered
just-website
asked this question in
Q&A
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My map now has about 10,000-20,000 objects, which I show as 4 types of CompositeLayer (simple wrappers over IconLayer + TextLayer), and one CompositeLayer for routes (include PathLayer + TextLayer). Аll layers have
pickable: true
property.In our project, we do not use the internal deck callbacks for displaying tooltips. Instead, we programmatically call pickedObjects in response to a click from outside to show our popup for the picked elements.
The parameters for pickedObjects are now limited to depth: 100 and radius: 10. Аnd I'm getting about 500ms latency to render my popup.
What advice can you give if I want to get 100+ objects as a result? Is this possible without such a huge delay?
@Pessimistress Have you thought about making an asynchronous version for this method?
Beta Was this translation helpful? Give feedback.
All reactions