forked from MTSR/mapserver
Added zoom level 0 tiles
This commit is contained in:
parent
b4023e161f
commit
3d64bdd2c5
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user