I\'m trying to customize my layers using two different approaches:
The first one is to create my own layers using two functions as below (which is inspired by the cod