---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://excalidraw.heycactus.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
lang: en
---

# Minimap

The minimap is a small overview of the whole canvas that shows where you are and lets you move around it. It is off when the editor opens, and you turn it on with the **Minimap** button in the footer.

> Verified against the product on 2026-11-23

## Show or hide the minimap

Select **Minimap** in the footer to show it, and select it again to hide it.

The minimap is off when the editor opens.

You can also select **Minimap** in **Preferences**.

A developer embedding the editor can remove the minimap, and every way to turn it on.

The **Minimap** button and its **Preferences** item are not shown in these cases:

- On a phone.
- In an editor shorter than 500 px.
- When canvas navigation is off, as in an embedded editor set to non-interactive.

## What the minimap shows

The minimap draws the whole canvas in miniature. Shapes and free text show as filled blocks, frames as outlines, and lines, arrows and freehand strokes as lines.

Text inside a shape is covered by the shape and is not drawn on its own.

Lines, arrows and freehand strokes are drawn with at most 24 points, so a long stroke looks simpler.

A block smaller than 1.5 px is drawn at 1.5 px, so tiny shapes still show.

The minimap is scaled so that everything on the canvas and the viewport both fit inside it. With no elements, it fits the viewport alone.

The viewport is a rectangle that shows what is on screen now. It is see-through, so the shapes under it still show. It is fully solid when it is 5% or less of the minimap's size, and see-through from 12% up.

The viewport is never smaller than 6 px.

## Move around with the minimap

Press inside the viewport rectangle and drag, and the canvas moves with your pointer.

Press anywhere else on the minimap, and the viewport centers on the pointer before it follows it.

Only the main mouse button drags, and dragging works only when canvas navigation is on.

You can drag the viewport up to its own width or height past the content, until the content is just out of view.

Hold the pointer outside the minimap while dragging, and the canvas keeps moving. The farther out the pointer is, the faster it moves, up to 3 viewport sizes per second.

Wheeling over the minimap zooms the canvas around the center of the viewport, and only when canvas navigation is on. It never pans.

When the host locks scrolling, the minimap keeps its scale while you drag, and the viewport stays inside the lock.
