1
0
forked from MTSR/mapserver

Added zoom level 0 tiles

This commit is contained in:
Pierre-Yves Rollo 2019-09-25 10:23:36 +02:00
parent b4023e161f
commit 3d64bdd2c5

View File

@ -159,6 +159,9 @@ 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
}