line-pattern-file: Change image file, map still uses old image #1210

Closed
evan-dickinson opened this Issue Jan 23, 2012 · 4 comments

3 participants

@evan-dickinson

I have a line I'm styling with line-pattern-file. If I change the pattern file (changing the colour, for example), TileMill refreshes the maps, but the line pattern still has the old colour. The only work-around I've found is to save the file with a new name each time.

Here's the style I'm using:

#trip {
  line-pattern-file: url(dot3.png);
}

P.S. – I know I've filed a lot of issues lately. I don't want to give the impression that I dislike TileMill -- I think it's great, but it could be even better.

@springmeyer
Mapbox member

mapnik caches images. We're working on designing a fix - this is the same reason that shapefiles cannot be edited/refreshed in QGIS while TileMill is running. Another workaround is to restart tilemill, which will clear the cache.

@springmeyer
Mapbox member

see mapnik/mapnik#1022. closing this one, we can track at mapnik site.

@springmeyer
Mapbox member

this should be fixed now, will be live in the next version of TileMill.

@dusoft

still appears in the latest tile mill

@springmeyer springmeyer referenced this issue in mapnik/mapnik May 6, 2013
Closed

api to clear/flush global cache #1022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment