coords for jeff

This commit is contained in:
LazyBoot 2020-10-02 04:50:05 +02:00
parent e2c0822122
commit 8769819720
No known key found for this signature in database
GPG Key ID: 0BD81D01FA2A433F

View File

@ -41,6 +41,9 @@ HOGGIT.CoordForPlaneType = function(planeType, pos)
local dms = function()
return mist.tostringLL(lat, long, 0, "")
end
local dms1 = function()
return mist.tostringLL(lat, long, 1, "")
end
local ddm = function()
return mist.tostringLL(lat, long, 3)
end
@ -58,7 +61,8 @@ HOGGIT.CoordForPlaneType = function(planeType, pos)
["A-10C_2"] = mgrs,
["F-14B"] = ddm,
["F-16C_50"] = ddm,
["FA-18C_hornet"] = ddm2
["FA-18C_hornet"] = ddm2,
["JF-17"] = dms1
-- Everything else will default to dms. Add things here if we need exclusions.
}
local f = unitCoordTypeTable[planeType]