def tableau(quadkeys, solution = None):
retVal = "<table>"
for row in grouper(quadkeys, 3):
html_row = "<tr>"
for quadkey in row:
html_row += "<td align=\"center\" style=\"text-align: center\">"
if quadkey is not None:
html_row += cell_renderer(quadkey, solution)
html_row += "</td>"
html_row += "</tr>"
retVal += html_row
retVal += "</table>"
display(HTML(retVal))
评论列表
文章目录