How can I disable/remove the delete button in the leaflet-draw edit toolbar? The "edit" button should remain enabled.
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
Regarding to the docs in chapter Disabeling a Toolbar Item you can do the following:
This adds a new Control bar without the delete Button, but the edit button will remain