1
0
forked from MTSR/mapserver
mapserver/mapblockrenderer/renderer.go

21 lines
498 B
Go
Raw Normal View History

2019-01-10 17:21:34 +03:00
package mapblockrenderer
import (
2019-01-10 19:50:31 +03:00
"mapserver/colormapping"
"mapserver/coords"
2019-01-11 12:24:10 +03:00
"mapserver/mapblockaccessor"
2019-01-10 17:21:34 +03:00
)
type MapBlockRenderer struct {
2019-01-11 12:24:10 +03:00
accessor *mapblockaccessor.MapBlockAccessor
2019-01-10 19:50:31 +03:00
colors *colormapping.ColorMapping
2019-01-10 17:21:34 +03:00
}
2019-01-11 12:24:10 +03:00
func NewMapBlockRenderer(accessor *mapblockaccessor.MapBlockAccessor, colors *colormapping.ColorMapping) MapBlockRenderer {
return MapBlockRenderer{accessor: accessor, colors: colors}
2019-01-10 17:21:34 +03:00
}
2019-01-11 12:24:10 +03:00
func (r *MapBlockRenderer) Render(pos1, pos2 coords.MapBlockCoords) {
2019-01-10 19:50:31 +03:00
//TODO
2019-01-10 17:21:34 +03:00
}