📅  最后修改于: 2022-03-11 14:47:19.897000             🧑  作者: Mango
# ...
coordinates = []
for result in results:
coordinates.append((result[5], result[6]))
lat_center = sum([coordinate[0] for coordinate in coordinates]) / len(
coordinates
)
lng_center = sum([coordinate[1] for coordinate in coordinates]) / len(
coordinates
)
html = r"""
"
self.view.setHtml(html)