> For the complete documentation index, see [llms.txt](https://fatos-doc.fatos.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fatos-doc.fatos.biz/fatos-api/map/map-control/zoom.md).

# Zoom

### setZoom

Sets the zoom level of the map.

#### Parameter

| Required Parameter | Description       | Type    |
| ------------------ | ----------------- | ------- |
| value              | Zoom level (0-20) | Numeric |

#### Example

```javascript
mapInstance.setZoom(5);
```

### getZoom

Gets the current zoom level of the map.

#### Return

The current zoom level of the map.

#### Example

```javascript
mapInstance.getZoom();
return 5
```
