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: add DrawLineStringByDraggingMode ("Pencil" mode) #897

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ben-xD
Copy link

@ben-xD ben-xD commented Mar 10, 2024

I implemented this for https://geojsons.com/, it's used by the pencil tool

pencil.mp4

I believe that is also what #172 requested, but we got the (also very useful) DrawPolygonByDraggingMode

In the example app

PS: I still need to get things building in nebula.gl and then try this out in the example app.

linestring.mp4

@CLAassistant
Copy link

CLAassistant commented Mar 10, 2024

CLA assistant check
All committers have signed the CLA.

@ben-xD ben-xD marked this pull request as draft March 10, 2024 21:28
@ben-xD ben-xD force-pushed the DrawLineStringByDraggingMode branch from 98c3ee9 to 4058fbd Compare March 10, 2024 21:32
@ben-xD ben-xD force-pushed the DrawLineStringByDraggingMode branch from 4058fbd to ae7a731 Compare March 10, 2024 21:36
@ben-xD ben-xD marked this pull request as ready for review March 10, 2024 21:38
Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks very neat!

@ben-xD
Copy link
Author

ben-xD commented Mar 11, 2024

Cool 😺️,

@ibgreen
Copy link
Collaborator

ibgreen commented Mar 12, 2024

Erm, I just realized that we no longer have write access to this repository, meaning I can't merge your PR. I am afraid that the plan is to move nebula.gl code over to a new @deck.gl-community/editable-layers module in the deck.gl-community repo, then we could reapply this PR.

@ben-xD
Copy link
Author

ben-xD commented Mar 12, 2024

No worries, looking forward to a deck.gl community package! I'm happy to re-open it there :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants