Create a standard html page with leafletjs and common plugins ([login to view URL], [login to view URL], [login to view URL]), add plugin "[login to view URL]" ([login to view URL]), and parameter it to add three buttons:
- a button to create multipolygon (simply copy code from [login to view URL]): workflow: click the button, then a leaflet submenu "save" / "cancel" is displayed, then all new geometries are one multipolygon.
- a button to merge existing polyline/polygon: Workflow: click the icon "merge" that displays a submenu "save" and "cancel", display a tooltip "Select lines or polygons" (like the style editor one). let the user selects them, and when the user click save, all the selected polygon are merged (note : polygons and polylines cannot be mixed, so the merge shoult take care of it).
- a button to create a hole (Workflow: click the icon "scissors", a submenu "save" and "cancel"" is displayed, then draw a polygon on the map, then when the geometry is ended, all the geometries under it are cut and their data updated.)
The code should be clean and as lightweight as possible.