我有array
很长的时间喜欢:
var locationList = new Array( '23.2531803, 72.4774396', '22.808782, 70.823863', '24.3310019, 72.8516531', '22.3073095, 73.1810976', '22.3038945, 70.8021599', '23.850809, 72.114838' );
我想从第一个给定的数组中获得最近的 25 公里 lat long23.2531803, 72.4774396
是否有任何计算给定数组中最近的 25 km 的 lat long。
NOTE: for some reason i can not use sql query, because i get lat long from given address