I don’t remember that there would be such a feature, but I’d guess it should be pretty easy to do that kind of feature to the add-on. If you deside to try that or just fill and enhancement issue, go to
v-leaflet-draw project. I split the Leaflet.Draw related stuff to that recently.
I’ll most likely focus my largest efforts to Leaflet.Editable based add-on in the future. It is pretty cool and supports more advanved features. There you wouldn’t have this issue as there is no toolbar, but the one you implement with Vaadin
yeah, Leaflet.Editable looks very promising ;).
I resolved my problem with simply workaround in app logic. I added checkbox for ‘edit mode’ which show/hide edit panel and remove/add LeafletClickListeners.