public class Test{ private static List<LocalAddress> ilist = new ArrayList<LocalAddress>(); public static void main(String[] args) { Test test3 = new Test(); Double localDouble = 0.0; //定义一个二维数组存放经纬度 Double[][] doubles = { { 22.6036906766, 113.8793209706 }, { 22.5205569549, 113.9394272419 }, { 22.6494305358, 114.0411629507 }, { 22.5255080247,114.0384880750 }, { 22.5246432654,114.0720634923 }, { 22.5963291708,113.9689558477 }, { 22.5509638661,113.9358124450 }, { 22.5509638661,113.9358124450 }, { 22.5254496086,114.0555439122 }, { 22.7789489191,114.3063672776 }, { 22.5240537775,114.0641924822 }, { 22.5141408858,114.0624887496 } }; //门店的经纬度 Double[] initlocal = {22.539899298946577
根据经纬度查询最近距离,mysql查询经纬度附近范围
最新推荐文章于 2024-06-18 09:47:41 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)