HTML部分
代码来自:高德API+Python解决租房问题,简单改了下加载数据部分
代码路径:/static/index.html
<meta charset="...22d3816e107f199992666d6412fa0691&plugin=AMap.ArrivalRange,AMap.Scale,AMap.Geocoder,AMap.Transfer,AMap.<em>Autocomplete</em>...polygonArray.push(polygon);
}
}
}, {
<em>policy</em>.../")
def get_houses_db():
# 从数据库读出来的数据,url为房源url,address为房源定位地址
houses = []
# Connect to the...", methods=['POST', 'GET'])
def get_houses():
# 直接从网页获取数据,url为房源url,address为房源定位地址
houses = [