---
name: "BIS_fnc_mapSize"
type: function
status: ok
groups: ["Map and Markers"]
arma3_since: "1.00"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/BIS_fnc_mapSize
revid: 325104
updated: 2022-07-01T12:24:54Z
---

# BIS_fnc_mapSize

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

## Description

Returns map size from config. Do not confuse with [worldSize](../commands/worldSize.md). The engine command calculates the map size and doesn't read it from config.

## Syntax

```sqf
terrainName call BIS_fnc_mapSize
```

**Parameters:**

- `terrainName`: [String](../topics/String.md) - (Optional, default [worldName](../commands/worldName.md)) world name

**Returns:** [Number](../topics/Number.md)

## Examples

### Example 1

```sqf
"Altis" call BIS_fnc_mapSize;
```

### Example 2

```sqf
worldName call BIS_fnc_mapSize;
```

### Example 3

```sqf
call BIS_fnc_mapSize;
```

## See also

[BIS_fnc_mapGridSize](../functions/BIS_fnc_mapGridSize.md) · [worldSize](../commands/worldSize.md) · [worldName](../commands/worldName.md)

<sub>Source: [BI Community Wiki — BIS fnc mapSize](https://community.bistudio.com/wiki/BIS_fnc_mapSize) (revision 325104).</sub>
