mirror of
https://gitlab.com/hoggit/developers/hoggit.git
synced 2025-11-10 15:43:28 +00:00
adds group.lua. getLatLongString to utils.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user