Updated code snippet on toggling of layer visibility
Merge remote-tracking branch 'upstream/master'