MIST getLLString

From DCS World Wiki - Hoggitworld.com


mist.getLLString

Added with: Mist 3.0
Description
Returns a string of the average position of units defined by a UnitNameTable in the Latitude and Longitude format to the specified accuracy. If the optional variable DMS exists, the format will be in Degrees Minutes Seconds. If DMS is not present the format will be in Degrees Minutes Thousandths of Minutes.
Syntax
string mist.getLLString(table vars )
Valid Input Values:

vars tables have the following recognized fields( required entries in blue, optional in green):

 vars = 
 {
 units = UnitNameTable units, 
 acc = number acc,
 DMS = boolean DMS,
 }

units is a UnitNameTable- a table of unit names that follow a special set of rules (see the entry on UnitNameTables).

acc is the accuracy of the coordinate

DMS is an optional variable that if present will return the string in Degrees minutes seconds format. If not present the string will be in Degrees Minutes Thousandths of Minutes.

Return value:
string
Return example:
TBD
Usage Examples:

do

 TBD

end

Notes:
Related Functions
tostringMGRS, tostringLL, tostringBR, getMGRSString, getLLString, getBRString, getLeadingPos, getLeadingMGRSString, getLeadingLLString, getLeadingBRString, getMilString, getClockString, getDateString

Scripting Engine

MIST Root Page