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

CancelEdit function #1047

Closed
kibala145 opened this issue Dec 26, 2019 · 1 comment
Closed

CancelEdit function #1047

kibala145 opened this issue Dec 26, 2019 · 1 comment

Comments

@kibala145
Copy link

maptalks's version and what browser you use?

0.46.0

Issue description

It would be great to have "cancelEdit" function to move history pointer to the beginning. For now, we can use "undoEdit" n times to get the cancel edit result, but it doesn't seem to be the right way. Tell me if I'm wrong :)

Please provide a reproduction URL (on any jsfiddle like site)

@fuzhenn
Copy link
Member

fuzhenn commented Dec 31, 2019

Thanks for your issue!

Will add this for the next version. 👍

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

2 participants