Ora

How do I move a map in QGIS?

Published in QGIS Map Control 5 mins read

Moving a map in QGIS can be achieved by panning the main map canvas for general exploration or by precisely manipulating map items within the Print Layout for publication.

Navigating the Main Map View (Panning)

To move or pan the map in the main QGIS Map View, allowing you to explore different geographical areas:

  • Hand Tool: Select the Pan Map tool (often represented by a hand icon) from the Map Navigation Toolbar. Once activated, left-click and drag your mouse across the map canvas to move the view.
  • Middle Mouse Button: A quick and common method is to press and hold your middle mouse button (scroll wheel) and drag the map. This instantly activates the pan function without needing to select a tool.
  • Keyboard Shortcuts: You can also pan the map using arrow keys on your keyboard, though this offers less fluid control.

For more information on general map navigation, refer to the QGIS User Guide.

Moving Map Content Within a Print Layout Frame

When working in a QGIS Print Layout, you often need to adjust the content (the actual geographical area shown) inside a map frame without moving the frame itself. This is particularly useful for focusing on a specific area within a fixed layout.

Here's how to move the map content inside a selected map frame:

  1. Add a Map Item: First, ensure you have a map item added to your Print Layout (e.g., via Add Item > Add Map).
  2. Select the Map Item: Click on the map item within your layout to select it.
  3. Activate "Move Item Content": From the Print Layout toolbar, select the Move Item Content tool (often looks like a hand within a square, or similar to the main map canvas pan tool).
  4. Pan the Content: With the "Move Item Content" tool selected, left-click and drag your mouse directly on the map within the frame. This will move (pan) the map content around to display the desired area.
  5. Zoom the Content: While the "Move Item Content" tool is active, you can use your mouse's scroll wheel to zoom in or out on the map content inside that specific frame. This allows you to set the appropriate scale for your layout.

This method allows you to precisely frame the geographical area you want to show, independent of the map frame's position on the page.

Moving the Map Item Frame Itself in a Print Layout

If you need to move the entire map frame (the boundary box holding the map content) on your print page, follow these steps:

  1. Select "Select/Move Item": From the Print Layout toolbar, choose the Select/Move Item tool (usually a black arrow cursor icon).
  2. Select the Map Frame: Click on the map item's frame (the border) in your layout. You'll see selection handles appear.
  3. Drag the Frame: Left-click and drag the selected map frame to its new position on the page.
  4. Resize the Frame: Use the corner or side handles to resize the map frame as needed.

Key Tools for Map Movement and Positioning

Here's a quick overview of essential tools for moving maps in QGIS:

Tool Name Icon Context Function
Pan Map Pan Map Icon (Conceptual Hand Icon) Main Map View Moves the visible area of the map canvas.
Move Item Content Move Item Content Icon (Conceptual Hand in Square) Print Layout Pans and zooms the geographical content within a selected map frame.
Select/Move Item Select Move Item Icon (Conceptual Arrow Cursor) Print Layout Moves and resizes the entire map frame on the layout page.

Note: Specific icons may vary slightly between QGIS versions.

Tips for Efficient Map Navigation

  • Overview Panel: In the main QGIS window, activate the Overview Panel (View > Panels > Overview Panel). This provides a smaller, zoomed-out view of your entire project extent with a red rectangle indicating your current map view. You can drag this rectangle to quickly pan the main map.
  • Bookmarks: Create spatial bookmarks (View > New Spatial Bookmark) for areas you frequently visit. This allows you to instantly jump to specific locations.
  • Coordinate Entry: For precise movement to a known location, you can use the Coordinate Capture tool or enter coordinates directly into the coordinate display at the bottom of the QGIS window.
  • Layer Extent: Right-click on a layer in the Layers panel and select Zoom to Layer to quickly pan and zoom to the full extent of that particular layer.

Understanding the distinction between moving the map in the main view and manipulating map items within a Print Layout is key to efficient map creation in QGIS.