leaflet.extras
leaflet.extras copied to clipboard
Customizing Delete Layers button in draw
Is there a way to edit the "delete layers" button so that instead of providing the options Save|Cancel|Clear All, it merely clears all by clicking the trash can?
I am afraid not. It's a two step process AFAIK. Please check with original draw authers/repo if there is a known work-around.