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

FreeDraw.cancel() not working #127

Open
stankovicmilutin opened this issue Nov 12, 2018 · 0 comments
Open

FreeDraw.cancel() not working #127

stankovicmilutin opened this issue Nov 12, 2018 · 0 comments

Comments

@stankovicmilutin
Copy link

stankovicmilutin commented Nov 12, 2018

When I call cancel() method on free draw nothing happens.

This is object on which I call it:

image

And code is simple as this.freeDraw.cancel()

If I create FreeDraw with option leaveModeAfterCreate: true, it cancels it correctly.

"leaflet-freedraw": {
"version": "2.9.0"
}

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

No branches or pull requests

1 participant