Yeah, this was just a quick example, if you want something more production ready I would also recommend making a reusable class with `L.TileLayer.extend`.