mirror of
https://github.com/magicbug/Cloudlog
synced 2026-08-13 17:49:35 -04:00
use measurement_base for distance calculation
This commit is contained in:
parent
36621b1e23
commit
0d2daee7eb
1 changed files with 1 additions and 1 deletions
|
|
@ -75,7 +75,7 @@
|
|||
$CI->load->library('qra');
|
||||
|
||||
// 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')) {
|
||||
case 'M':
|
||||
echo "mi";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue