Replies: 5 comments 4 replies
-
The callbacks that pydeck currently supports are here in the docs—the ones you’re looking for are not in pydeck yet. You might want to write this as a custom layer which you can then import into pydeck. |
Beta Was this translation helpful? Give feedback.
-
I suggest you try it with JavaScript first. All layers support onDrag* callbacks in JS. If those are indeed what you need, pydeck can expose them in the Python API. |
Beta Was this translation helpful? Give feedback.
-
@Pessimistress thanks for your reply. This is what I need. Can it be added to pyDeck? |
Beta Was this translation helpful? Give feedback.
-
This something I also really need. When will it be possible to add the drag evens?
|
Beta Was this translation helpful? Give feedback.
-
Addressed in #5963 |
Beta Was this translation helpful? Give feedback.
-
Hi,
tl;dr;
How can I implement callbacks to mouse dragging in pydeck and be able to run it both in Jupyter and as a standalone HTML?
Tried to find documentations or examples and found none.
I'm writing a small tool where I want the ability to move data from one layer in 3D, while the other layers shouldn't move.
The idea is to find the best translation and rotation of a cloud of points (using PointCloudLayer) so that they will fit best on the displayed mesh (using TerrainLayer).
Eventually I would like to save the results in some file.
Thanks,
Daniel.
Environment:
Beta Was this translation helpful? Give feedback.
All reactions