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

Remove last point (undo) when drawing #142

Open
baffioso opened this issue Dec 23, 2023 · 2 comments
Open

Remove last point (undo) when drawing #142

baffioso opened this issue Dec 23, 2023 · 2 comments

Comments

@baffioso
Copy link

Could be convient with a method to remove last point when drawing e.g. polygons.

Like open layers draw.removeLastPoint()

Example: https://openlayers.org/en/latest/examples/draw-features.html

Thanks for building such a nice tool!

@JamesLMilner
Copy link
Owner

Hey @baffioso thanks for raising the issue, I appreciate your input. I can totally see the benefit of this sort of functionality - I would love to add a more generic undo feature to Terra Draw, and this is something I've wanted to do for a while. I will give it some more thought and consider how to start making it happen.

@lawrencenika
Copy link

a generic undo and redo feature will be very useful!

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

No branches or pull requests

3 participants