> For the complete documentation index, see [llms.txt](https://docs.kumu.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kumu.io/frequently-asked-questions/how-do-i-set-a-minimum-or-maximum-zoom-level-for-my-map.md).

# How do I set a minimum or maximum zoom level for my map?

When scrolling on a map, Kumu allows you to zoom in or out indefinitely. Yet, sometimes you just don't want a viewer to be able to zoom out too much (e.g. in [a geo map](/guides/templates/geo.md) of a specific region), or to zoom in too much.&#x20;

Luckily, you can set a minimum and a maximum zoom level for your Kumu map, by adding code to your advanced editor. You can use these properties within an @settings block:&#x20;

* **scale-max**: sets the maximum allowed zoom level (how far you can zoom in)&#x20;
* **scale-min**: sets the minimum allowed zoom level (how far you can zoom out)

Behind the property you indicate a number between 0-1 that sets the zoom level.

* For the **scale-max** property, the closer to 1, the further you're allowed to zoom in&#x20;
* For the **scale-min** property, the closer to 0, the further you're allowed to zoom out

Note that you can use these properties individually, as well as together.&#x20;

Here's an example of what using both properties would look like in your advanced editor:&#x20;

```
@settings {
  scale-max: 0.8;
  scale-min: 0.1; 
}
```

{% hint style="info" %}
When using both properties at the same time, make sure that the scale-max number is always *higher* than the scale-min number.&#x20;
{% endhint %}

### Disable zoom

Using max and min zoom levels is also great for disabling zooming in your map entirely. When using the exact same number for both properties, you can set a specific zoom level, and viewers won't be able to further zoom in or out at all. The higher both zoom numbers, the more zoomed in your map will be, and vice-versa.&#x20;

```
@settings {
  scale-max: 0.2;
  scale-min: 0.2; 
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.kumu.io/frequently-asked-questions/how-do-i-set-a-minimum-or-maximum-zoom-level-for-my-map.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
