Interactive or image frames
Every map item on your print layout becomes a frame in the cartograph, and each frame is one of two kinds. You choose per map, in the choice box on the map’s card in Map frames (on the cartograph’s Layout tab).
| Interactive | Image | |
|---|---|---|
| What the reader gets | A real map inside the page: pan, zoom, click a feature | A picture of the map, exactly as QGIS draws it |
| Projection | The map’s own CRS when it is a projected one (UTM, a national grid, an equal-area projection) or a geographic one such as EPSG:4326, and its layers are vectors or image tiles; Web Mercator (EPSG:3857) otherwise - see below | The map’s own CRS, untouched |
| Styling | Translated, with the web map’s fidelity - the Checks tab lists what changes | Pixel-exact: whatever QGIS can draw |
| Data in the file | The features, and the attributes their popups show | Only the image |
| Sharpness in print | Re-rendered at print resolution | Fixed at the DPI you chose (150, 200 or 300; 200 by default), or the saved export resolution when that is higher |
| Needs WebGL in the reader’s browser | Yes - without it the frame shows a note instead of the map | No |
| File size | Larger - the map’s data and the map runtime, a few megabytes | Small - an image per frame |
| Can drive an atlas | Yes | No |
The default
The plugin starts a map Interactive whenever the browser can draw it where QGIS does, and Image otherwise. You can change either:
- EPSG:3857 or EPSG:4326 → Interactive. The interactive frame shows the map in the projection it already uses (or close to it), so nothing is lost by making it interactive.
- A projected CRS - UTM, a national grid, an equal-area map - → Interactive when the frame can draw in that CRS (see Which CRS an interactive frame draws in): the map is not rotated and every layer is a vector layer or image tiles.
- A map the layout’s atlas turns → Interactive, whatever its CRS: only an interactive frame can follow the atlas pages.
- Anything else → Image: a rotated projected map, or one with a raster file or non-image tiles. An image frame keeps every style and every layer exactly as QGIS draws it, and reads without WebGL.
Switch an interactive map to Image when a style matters more than interaction - an image frame is a picture QGIS drew itself - or when the page must read without a graphics card.
The same rule is the Automatic choice of the Processing algorithm, which also offers All interactive and All image.
When to switch a map to Interactive
- The reader should explore: zoom into a site, click a parcel for its attributes.
- The map is in Web Mercator or WGS 84 already.
- It is the map an atlas turns - an atlas only pages through an interactive frame.
Which CRS an interactive frame draws in
An interactive frame draws in the map’s own CRS, exactly where QGIS draws it, when the map:
- is in a projected CRS - UTM, a national grid, an equal-area or conic projection - or a geographic one such as EPSG:4326, which is drawn as QGIS draws it: one scale in degrees on both axes;
- is not rotated;
- carries only vector layers, PMTiles archives and image tiles (an XYZ layer
whose address names no vector format -
.pngtiles, or an address with no extension - or a WMS or WMTS layer).
The Checks tab then marks the frame Kept. An interactive frame has no basemap in a projected CRS; add an XYZ layer to the map for one.
Otherwise it is redrawn in Web Mercator, and the Checks tab marks it Changed, with the reason: shapes, and distances away from the centre, differ slightly from the layout. That happens for
- a rotated map - the rotation is kept, in Web Mercator;
- a map carrying a raster, or a vector tile layer drawn in its publisher’s style - the row names the layer.
When to keep a map as an Image
- The projection matters - a survey plan, a cadastral sheet, anything measured.
- The styling uses something the web map cannot draw. An image frame is drawn by QGIS, so it looks exactly as it does in the layout designer.
- The features should not travel. An image frame carries a picture, not features: nobody can open the file and read them. (To keep only some attributes out of an interactive frame, the popup settings in the Layers section are enough.)
- The reader may have no WebGL - an old work laptop, a locked-down virtual desktop, a mail or chat preview. See below.
A page with only image frames
When every frame is an image, the cartograph does not carry the map runtime at all. It is a page of images, text and shapes, so it is small, opens instantly and needs no WebGL. It also sends nothing when it is opened.
It even reads with JavaScript switched off - in a mail client’s or file manager’s preview, say - because its images, text and shapes are placed by the page’s own layout rules. A cartograph with an interactive frame shows a short note there instead, asking to be opened in a browser.
It is also the only kind of cartograph QGIS can turn into a CMYK or ICC-profiled PDF.
Resolution of an image frame
The DPI column sets how finely an image frame’s image is rendered: 150, 200 (the default) or 300. 150 dpi is enough for a screen, 200 for an office printer; choose 300 for print-shop work. Each step up roughly doubles the image’s share of the file.
Printing does not re-render an image frame, so its DPI is the sharpest it will ever print. The page is rendered at the saved resolution (300 dpi unless Print settings say otherwise), and a picture below that would be enlarged and go soft, so an image frame is always drawn at least at the saved resolution: the DPI you choose can only raise it. A frame too large to reach the saved resolution within what a browser can draw is drawn at the most that fits, and Checks says so. An interactive frame has no such ceiling: when the page is printed or exported it is re-rendered at the print resolution.
Legends, scale bars and labels follow the frame
- A legend on an Interactive frame works its rows out from the map as it is drawn, so it always agrees with it. A legend on an Image frame has its rows written in once, from the layers’ styles; the Checks tab marks it Changed.
- A scale bar, north arrow and grid are worked out from the frame’s georeference, whichever kind it is.
- A label showing
[% @map_scale %]stays live on an interactive frame and updates as the reader zooms. On an image frame it is written in as text, because the picture never moves.
The trade, briefly
Make a frame interactive when the reader gains something from moving it. Leave it an image when the page has to be exactly what you designed - which, for most print layouts, is most frames.