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

feat: Expose onDrag and getCursor functions from DeckGL component #2415

Merged

Conversation

rubenthoms
Copy link
Collaborator

@rubenthoms rubenthoms commented Jan 20, 2025

Exposing onDrag and getCursor does get interesting when implementing interactive functions as e.g. dragging polyline points that are supposed to stay on top of a grid layer. getCursor can be used to override the default cursor when hovering points of the polyline to show what is going to happen when the user clicks on them (e.g. adding points, deleting points etc.).

@rubenthoms rubenthoms added enhancement New feature or request CeeSol Task owned by Ceetron Solutions labels Jan 20, 2025
@rubenthoms rubenthoms requested review from hkfb and w1nklr January 20, 2025 10:49
@rubenthoms rubenthoms self-assigned this Jan 20, 2025
@rubenthoms rubenthoms merged commit fa51d16 into equinor:master Jan 20, 2025
10 checks passed
hkfb pushed a commit that referenced this pull request Jan 20, 2025
# [1.6.0](https://github.com/equinor/webviz-subsurface-components/compare/[email protected]@1.6.0) (2025-01-20)

### Features

* Expose `onDrag` and `getCursor` functions from `DeckGL` component ([#2415](#2415)) ([fa51d16](fa51d16))
@hkfb
Copy link
Collaborator

hkfb commented Jan 20, 2025

🎉 This issue has been resolved in version [email protected] 🎉

The release is available on GitHub release

@hkfb hkfb added the released label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CeeSol Task owned by Ceetron Solutions enhancement New feature or request released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants