jochenklar.de

10 August 2014

Create error tile

Creating a single-color error tile for leaflet is quite simple using imagemagick. First create an empty white tile:

convert -size 256x256 xc:white error.png

Then change the white to the color you want:

convert error.png -fill '#606' -opaque white error.png