Removed level 0 tiles caching that prevented incremental updates
This commit is contained in:
parent
ed487651c3
commit
3d850d9399
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user