|Version 15 (modified by joshdoe, 16 months ago) (diff)|
Select, Move and Rotate Objects
This tool has four possible modes:
Table of Contents
This MapMode enables the user to make selections of different objects. The selected objects are drawn in a different style, depending on display preferences and the active styles. The cursor icon will also change depending on the selection mode.
Selecting single objects
If multiple objects overlap or are very close to each other, there are several ways to select a specific object.
- Middle-click to show a pop-up window of nearby objects and to cycle through them.
- Left-click while holding the Alt (or AltGr) key to cycle through nearby objects without showing a pop-up window. To make this type of selection the default, and thus not require the use of the Alt key, change the advanced preference selectaction.cycles.multiple.matches to true.
Hold the Shift key while left-clicking to add the node or way to the current selection. Hold the Ctrl key while left-clicking to toggle the selection of the object (if the object is already selected, remove it from the selection, otherwise add it to the selection).
Selecting multiple objects
To select all objects, press Ctrl-A.
- Release the left mouse button to select all objects within the rectangle. All nodes within the rectangle and any ways which are entirely within the rectangle will be selected.
- To cancel the selection rectangle, hold the right mouse button when releasing the left mouse button.
When the mouse button is released and either Alt, Shift or Ctrl is held, following selection is made:
- Alt : in addition to the normal behavior, select all ways that have at least one node within selection rectangle.
- Shift : the objects are added to the current selection.
- Ctrl : remove all objects under the current rectangle from the active selection (if there were any). Nothing is added to the current selection.
Alt can be combined with Shift, but cannot be combined with Ctrl, as this is used for the *Scale* command.
To unselect everything you can either click on an empty area of the screen, or press U or Esc on the keyboard.
Selecting particular ways
- If the mouse cursor is near a node when performing the move action, then just this node is moved.
- If the mouse cursor is near a way when performing the move action, then the way, together with its associated nodes, is moved.
You can merge a selected node with another one by holding down the Ctrl and dragging the selected node onto the other one.
You can rotate selected ways while the cursor is near one of them by holding down the Shift+Ctrl + left mouse button and moving the cursor.
You can scale selected ways while the cursor is near one of them by holding down the Ctrl+Alt + left mouse button and moving the cursor.
The cursor changes to indicate what action will occur:
- : a node will be selected
- : a node will be added to the current selection
- : a node will be removed from the current selection
- : a way will be selected
- : a way will be added to the current selection
- : a way will be removed from the current selection
- : objects within the rectangle will be selected
- : objects within the rectangle will added to the current selection
- : objects within the rectangle will removed from the current selection
- : the selected node will be merged with the node near the pointer
- : rotate the selected objects
- : scale the selected objects
Whether a mouse action is considered a selection or a move depends on some settings, to prevent objects from being moved when a simple selection was intended; this is particularly important on devices such as tablets that are touch sensitive or use a stylus. If the pointer is moved between pressing and releasing the left mouse button, the object will only be moved if the pointer moved more than 5 pixels or was held down for more than 0.2 seconds, otherwise the object will simply be selected. These two settings can be changed with the advanced preferences edit.initial-move-threshold (pixels) and edit.initial-move-delay (milliseconds).
- UtilsPlugin2 contains additional selection functionality