class Point: lng = '' lat = '' def __init__(self, lng, lat): self.lng = lng self.lat = lat # 求外包矩形 def get_polygon_bounds(points): length = len(points) top = down = left = right = points[0] for i in range(1, length): if points[i].lng > top.lng: top =