示例#1
0
文件: quadkey.go 项目: buckhx/diglet
func QuadKey(c Coordinate, zoom int) tiles.Quadkey {
	return tiles.FromCoordinate(c.Lat, c.Lon, zoom).Quadkey()
}
示例#2
0
func (c Coordinate) ToTile(zoom int) (tile tiles.Tile) {
	return tiles.FromCoordinate(c.Lat, c.Lon, zoom)
}