1
0
forked from MTSR/mapserver
mapserver/coords/tileconvert.go
2019-01-11 16:00:40 +01:00

11 lines
173 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};
}