Removed level 0 tiles caching that prevented incremental updates

This commit is contained in:
Pierre-Yves Rollo 2019-10-01 10:24:17 +02:00 committed by NatureFreshMilk
parent ed487651c3
commit 3d850d9399

View File

@ -159,9 +159,6 @@ func (tr *TileRenderer) renderImage(tc *coords.TileCoords, recursionDepth int) (
buf := new(bytes.Buffer) buf := new(bytes.Buffer)
png.Encode(buf, img) png.Encode(buf, img)
tile := buf.Bytes()
tr.tdb.SetTile(tc, tile)
return img, nil return img, nil
} }