1

I'm using CartoCSS in TileMill and png files on disk for filling polygon symbols with patterns.

polygon-pattern-file: url('sprites/yard.png');

The display is ok the first time, but when I change the file itself in a raster editor, polygon fills don't change. They do change only if I rename my png file to a different name and make a corresponding change in CSS.

So I guess TileMill caches files for given URLs somehow. How to turn that off?

1 Answer 1

1

Since also Kosmtik exhibits this behaviour when there have been changes to SVG or PNG files this is rather related to Mapnik than to TileMill. I'm not aware of an option to turn this off. The only solution would be to restart TileMill. Additionally, you could also try to clear the cache folder of TileMill as suggested here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.