Added cmdSampleToggleLayer.cpp