From 3d850d9399f46d636ffd458cff7ec34c12bf1eb1 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Rollo Date: Tue, 1 Oct 2019 10:24:17 +0200 Subject: [PATCH] Removed level 0 tiles caching that prevented incremental updates --- tilerenderer/renderer.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/tilerenderer/renderer.go b/tilerenderer/renderer.go index 9fea37e..38ada5f 100644 --- a/tilerenderer/renderer.go +++ b/tilerenderer/renderer.go @@ -159,9 +159,6 @@ func (tr *TileRenderer) renderImage(tc *coords.TileCoords, recursionDepth int) ( buf := new(bytes.Buffer) png.Encode(buf, img) - tile := buf.Bytes() - tr.tdb.SetTile(tc, tile) - return img, nil }