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

Events draw:editstart and draw:editstop added #175

Merged
merged 2 commits into from
Aug 21, 2013

Conversation

bhell
Copy link

@bhell bhell commented Aug 15, 2013

Two additional events are being fired upon activation/deactivation of the
edit mode, similarly to draw:drawstart and draw:drawstop. I.e. when a
user clicks on the edit or remove button, draw:editstart is being fired,
and when the user presses "save", draw:editstop is being fired.

With this it becomes possible to e.g. turn off a layer during editing and
switch it back on when editing is finished.

Benjamin Hell added 2 commits August 15, 2013 16:01
Two additional events are being fired upon activation/deactivation of the
edit mode, similarly to `draw:drawstart` and `draw:drawstop`. I.e. when a
user clicks on the edit or remove button, `draw:editstart` is being fired,
and when the user presses "save", `draw:editstop` is being fired.

With this it becomes possible to e.g. turn off a layer during editing and
switch it back on when editing is finished.
Updated README.md documentation to contain the new signals. Fixed
the name of the signal property from LayerType to handler.
@jacobtoye
Copy link
Member

Thanks :)

jacobtoye added a commit that referenced this pull request Aug 21, 2013
Events draw:editstart and draw:editstop added
@jacobtoye jacobtoye merged commit 652c211 into Leaflet:master Aug 21, 2013
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.

2 participants