Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

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

Projects
None yet
2 participants

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 some commits Aug 15, 2013

Benjamin Hell Events draw:editstart and draw:editstop added
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.
bced9dc
Benjamin Hell Documentation update and fixed variable name
Updated README.md documentation to contain the new signals. Fixed
the name of the signal property from LayerType to handler.
3c3d6a8
Owner

jacobtoye commented Aug 21, 2013

Thanks :)

@jacobtoye jacobtoye added a commit that referenced this pull request Aug 21, 2013

@jacobtoye jacobtoye Merge pull request #175 from bhell/additional-draw-events
Events draw:editstart and draw:editstop added
652c211

@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