Paints the layer onto a cleared context the size of the map's canvas, in device pixels.
pixelRatio is the device pixels per CSS pixel, to scale CSS lengths by.Names the layer for MapEffects.removeLayer. Adding a layer under an id in use replaces it in place.
A 2D canvas layer of your own, such as a paper texture or film grain, placed between the plugin's overlay effects and drawn by MapEffects.capture in the same place.