
1 28Sv0ngQfIE7Yloe Oct 24, 2022 有经纬度就很好做 |
2 28Sv0ngQfIE7Yloe Oct 24, 2022 地理位置可以看下高德或者腾讯的 API |
3 Kenmin Oct 24, 2022 google 地图 api 可以根据文本获取地理位置详细信息,国内百度,腾讯地图等 api 应该也可以 |
4 kamal Oct 24, 2022 如果自己保存了坐标点,mongodb 有 geo near 查询 https://www.mongodb.com/docs/manual/reference/operator/aggregation/geoNear/#mongodb-pipeline-pipe.-geoNear 如果是用地图接口,现有接口就有,可以说是各家地图服务的基础接口。比如这个 https://lbs.qq.com/service/webService/webServiceGuide/webServiceSearch |
5 KouShuiYu Oct 24, 2022 如果使用 pg 的话可以用这个插件 https://postgis.net/docs/manual-3.3/ |
6 KouShuiYu Oct 24, 2022 轻量级的话用 JS 在前端做也行 https://turfjs.org/ |