Convert leaflet-editable-polyline to use polygons instead of polylines