1
0
forked from MTSR/mapserver
mapserver/tilerenderer/renderer.go
Thomas Rudin bc223722af gofmt
2019-01-13 16:37:03 +01:00

26 lines
573 B
Go

package tilerenderer
import (
"image"
"mapserver/coords"
"mapserver/mapblockrenderer"
"mapserver/tiledb"
)
type TileRenderer struct {
mapblockrenderer *mapblockrenderer.MapBlockRenderer
tiledb *tiledb.DBAccessor
}
func NewTileRenderer(mapblockrenderer *mapblockrenderer.MapBlockRenderer, tiledb *tiledb.DBAccessor) *TileRenderer {
return &TileRenderer{
mapblockrenderer: mapblockrenderer,
tiledb: tiledb,
}
}
//TODO layerConfig
func (tr *TileRenderer) Render(tc coords.TileCoords, layerId int) (*image.NRGBA, error) {
return nil, nil
}