{"name":"BIS_fnc_mapGridSize","operator":null,"title":"BIS fnc mapGridSize","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_mapGridSize","revid":309186,"updated":"2022-05-03T18:13:13Z","groups":["Map and Markers"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.92"}],"since":{"game":"arma3","name":"Arma 3","version":"1.92"},"arma3_since":"1.92","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns the size of map grid square at current zoom level.\n\n> [!NOTE]\n> This function caches config lookup result on the first use and for the duration of the mission, making subsequent access 2-3 times faster.","syntaxes":[{"syntax":"[map] call BIS_fnc_mapGridSize","since":null,"effect":null,"exec":null,"params":[{"name":"map","type":"Control","optional":true,"default":"main mission map (findDisplay 12 displayCtrl 51)","description":"map control","types":["Control"],"since":null,"text":"map: Control - (Optional, default main mission map (findDisplay 12 displayCtrl 51)) map control"}],"returns":{"type":"Number","types":["Number"],"description":"map grid size","text":"Number - map grid size"}}],"examples":[{"text":"```sqf\nprivate _gridSize = [] call BIS_fnc_mapGridSize;\n```","code":["private _gridSize = [] call BIS_fnc_mapGridSize;"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["BIS_fnc_mapSize"],"notes":[],"categories":["Arma 3: Functions","Arma 3: New Functions","Function Group: Map and Markers","Functions","Introduced with Arma 3 version 1.92"],"docblock":null,"filled_from_docblock":[]}