mtwebmapper: Pass right base dir to pyramid update workers.

This commit is contained in:
Sascha L. Teichmann 2014-09-21 13:29:03 +02:00
parent 58d30b1323
commit 4e80236e26

View File

@ -127,7 +127,7 @@ func (tu *tileUpdater) doUpdates() {
pJobs := make(chan xzm)
for i, n := 0, min(len(parentJobs), tu.workers); i < n; i++ {
done.Add(1)
go updatePyramidTiles(level, baseDir, pJobs, &done)
go updatePyramidTiles(level, tu.mapDir, pJobs, &done)
}
ppJobs := make(map[xz]uint16)
for c, mask := range parentJobs {