{"name":"BIS_fnc_mapGridSize","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","games":{"arma3":"1.92"},"since":"arma3 1.92","arma3_since":"1.92","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","params":[{"name":"map","type":"Control","optional":true,"default":"main mission map (findDisplay 12 displayCtrl 51)","description":"map control","type_expr":"Control","text":"map: Control - (Optional, default main mission map (findDisplay 12 displayCtrl 51)) map control"}],"returns":{"type":"Number","type_expr":"Number","description":"map grid size"}}],"examples":[{"code":["private _gridSize = [] call BIS_fnc_mapGridSize;"]}],"see_also":["BIS_fnc_mapSize"]}