adds group.lua. getLatLongString to utils.

This commit is contained in:
Lugghawk
2018-12-24 18:39:56 -05:00
parent a983d1b2d8
commit cfe5f10823
3 changed files with 15 additions and 0 deletions

View File

@@ -20,3 +20,9 @@ HOGGIT.listContains = function(list, elem)
return false
end
HOGGIT.getLatLongString = function(pos, decimal)
local lat, long = coord.LOtoLL(pos)
if decimal == nil then decimal = false end
return mist.tostringLL(lat, long, 3, decimal)
end