{"name":"BIS_fnc_posDegToWorld","title":"BIS fnc posDegToWorld","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_posDegToWorld","revid":328506,"updated":"2022-07-13T16:23:48Z","groups":["Map and Markers"],"status":"ok","games":{"tkoh":"1.00","arma3":"0.50"},"since":"tkoh 1.00","arma3_since":"0.50","description":"Convert latitude/longtitude coordinates into game world position.\nWorld config **must** contain following settings to convert the position correctly:\n\n```cpp\n// Required for scripting\nmapSize = 61440;    // Can differ from mapArea size, as ingame world can be resized\nmapZone = 10;        // UTM zone\nmapArea[] = {        // lon/lat coordinates (not in UTM to assure .kml precision)\n    -122.754367782585,47.3272454065969,    // Bottom Left\n    -121.930117859276,47.8753494907418    // Top Right\n};\n```","syntaxes":[{"syntax":"[longitude, latitude, world] call BIS_fnc_posDegToWorld","params":[{"name":"longitude","type":"Number","type_expr":"Number"},{"name":"latitude","type":"Number","type_expr":"Number"},{"name":"world","type":"String","optional":true,"default":"worldName","type_expr":"String","text":"world: String - (Optional, default worldName)"}],"returns":{"type":"Array of Numbers","type_expr":"Array<Number>","description":"format [easting, northing, zone]"}}],"examples":[{"code":["[47.63959,-122.127249] call BIS_fnc_posDegToWorld;"]}],"see_also":["BIS_fnc_posDegToUTM","BIS_fnc_posUTMToDeg"]}