---
name: "BIS_fnc_mapGridSize"
type: function
status: ok
groups: ["Map and Markers"]
arma3_since: "1.92"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_mapGridSize
revid: 309186
updated: 2022-05-03T18:13:13Z
---

# BIS_fnc_mapGridSize

*Function · Map and Markers · Arma 3 v1.92*

## Description

Returns the size of map grid square at current zoom level.

> [!NOTE]
> This function caches config lookup result on the first use and for the duration of the mission, making subsequent access 2-3 times faster.

## Syntax

```sqf
[map] call BIS_fnc_mapGridSize
```

**Parameters:**

- `map`: [Control](../topics/Control.md) - (Optional, default main mission map ([findDisplay](../commands/findDisplay.md) 12 [displayCtrl](../commands/displayCtrl.md) 51)) map control

**Returns:** [Number](../topics/Number.md) - map grid size

## Examples

### Example 1

```sqf
private _gridSize = [] call BIS_fnc_mapGridSize;
```

## See also

[BIS_fnc_mapSize](../functions/BIS_fnc_mapSize.md)

<sub>Source: [BI Community Wiki — BIS fnc mapGridSize](https://community.bistudio.com/wiki/BIS_fnc_mapGridSize) (revision 309186).</sub>
