# Interactivity

### Zoom on Scroll

Users can use their mousewheel or touch to zoom the map. Turn this off to prevent users from getting "stuck" on the map while scrolling through a page.

### Interactivity

Turn off all interactivity with the map (zooming, panning, clicking, etc).

### Cooperative Gestures <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

Cooperative gestures require the user to press a button or use multiple fingers to scroll.

### Allow Rotation and Pitch

Modify the ability for users to rotate and angle the map without affecting other interactivity.

### Open Popups in Sidebar

Instead of popups opening in their little popup windows, open them in an HTML sidebar instead (which will be placed on top of the map. You can set the **Minimum** and **Maximum** sidebar width.

### Restricted Movement <sup><sub>*<mark style="color:green;">\[Pro]</mark>*<sub></sup>

Restrict the ability for users to move beyond a certain **bounds** (defined by a set of corner points) and/or restrict their zooming between two given zoom levels.


---

# Agent Instructions: 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:

```
GET https://wpmaps-docs.mapster.me/maps/interactivity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
