摘要:
/** * @Desc 根据经纬度坐标计算两点的距离算法 * @Author yangzhenlong * @Data 2018/5/9 18:38 */ public class LocationUtils { private static final Double PI = Math.PI; private static final Double PK = 180 / ... 阅读全文
摘要:
es实体,用 @GeoPointField 注解,值为:中间逗号隔开,如 29.477000,119.278536(经度, 维度) 接口: 实现: 查询10公里范围数据,返回: 阅读全文