use measurement_base for distance calculation
这个提交包含在:
父节点
36621b1e23
当前提交
0d2daee7eb
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -75,7 +75,7 @@
|
||||||
$CI->load->library('qra');
|
$CI->load->library('qra');
|
||||||
|
|
||||||
// Cacluate Distance
|
// Cacluate Distance
|
||||||
echo $CI->qra->distance($row->station_gridsquare, $row->COL_GRIDSQUARE, 'M');
|
echo $CI->qra->distance($row->station_gridsquare, $row->COL_GRIDSQUARE, $this->config->item('measurement_base'));
|
||||||
switch ($this->config->item('measurement_base')) {
|
switch ($this->config->item('measurement_base')) {
|
||||||
case 'M':
|
case 'M':
|
||||||
echo "mi";
|
echo "mi";
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用