2014-06-09 18:48:15 +02:00
|
|
|
if uci:get_first('gluon-node-info', 'location', 'share_location', false) then
|
2014-06-10 15:44:35 +02:00
|
|
|
return {
|
|
|
|
latitude = tonumber(uci:get_first('gluon-node-info', 'location', 'latitude')),
|
|
|
|
longitude = tonumber(uci:get_first('gluon-node-info', 'location', 'longitude')),
|
2015-03-23 00:12:39 +01:00
|
|
|
altitude = tonumber(uci:get_first('gluon-node-info', 'location', 'altitude')),
|
2014-06-10 15:44:35 +02:00
|
|
|
}
|
2014-06-09 18:48:15 +02:00
|
|
|
end
|