mapserver/coords/tileconvert.go
Thomas Rudin bc223722af gofmt
2019-01-13 16:37:03 +01:00

10 lines
174 B
Go

package coords
const (
MAX_ZOOM = 13
)
func GetTileCoordsFromMapBlock(mbc MapBlockCoords) TileCoords {
return TileCoords{X: mbc.X, Y: (mbc.Z + 1) * -1, Zoom: MAX_ZOOM}
}