# Selection The Map application has a variety of methods for selecting objects and annotations. ## Select items on the map * **Select items:** Click on an object or annotation to select it. If there are multiple items under the cursor, all items will be selected. * **Add items to existing selection:** Hold Ctrl (Windows) or Cmd (macOS) while clicking to add the items under the cursor to the selection. * **Select all items in a rectangular region:** Hold Shift while clicking and dragging the cursor to select all items in a rectangular region. * **Clear selection:** Click on an empty space on the map. Additional selection options are available in the **Select** toolbar menu. These are: * **Select All:** Select all items on your map. * Also available via the Ctrl+A (Windows) or Cmd+A (macOS) keyboard shortcut. * **Select All of "Type":** Select all items matching the object type of the currently selected object. * Only available when there is an existing selection that contains a single type of object. * **Invert Selection:** Swap the selection to all items that are not currently selected. * Also available via the Ctrl+I (Windows) or Cmd+I (macOS) keyboard shortcut. * **Select intersecting objects:** Select all objects that intersect with all currently selected items. * Only available when there is an existing selection. * **Select intersecting a shape...:** Allows you to draw a shape and select all objects that intersect with it. * Only available when there is no existing selection. These functions are also available in the right-click menu. | **Select** menu | **Select** menu with existing selection | Right click menu for a shape | | ---------------------------------------------------------- | ----------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | | ![Toolbar select menu](../../../assets/0ba5fb8d56ec637d4f09617c8c37aa7855bd3076f8cff13abef7f554370f08ef.webp) | ![Toolbar select menu when items are selected](../../../assets/c29b06b63d6d3b4eb05f5099fa62f24d5e04fa22a50a55cb7767e0340c47fe73.webp) | ![Right click menu on shape](../../../assets/f7e304f8bfd986b14c9a801cb062ffb6cf636273d9c4c82e0fb08c3173b7b0e6.webp) | You can select all the objects in a given layer using the **Select objects in layer** menu item from the **Layer Actions** menu. Layers panel with layer actions menu open ## Select items using the histogram Click on a row within the **Histogram** panel to select all matching objects. Hold Shift while selecting a second row to select a range of rows. Holding Ctrl (Windows) or Cmd (macOS) will add the row to the existing selection. You can find more details in the [histogram and filtering documentation](../histogram/index.md). ![Map application with histogram row selected](../../../assets/e437e7eadc671419053b11e50c1a946e1327334f4eff681fe71f0d9221dc34fb.webp) ## Locking objects on the map Lock the objects in a layer by selecting the **…** option, located in the **Layers** panel under the "Objects" section: Lock objects in layer. This will lock the objects of a layer so that they will not be selectable on the map. The objects can still be selected from the left **Layers**, **Find**, and **Histogram** Panel, but you cannot interact with them on the map with your cursor, selection shortcuts, or intersecting shapes. You can still edit the styling of a layer from the **…** menu button. To unlock the objects in a layer, select the lock icon next to a layer in the **Layers** panel or access via the **…** dropdown menu. ## Selection Panel If there are multiple objects selected, the **Selection** panel will list these objects. From this list, you can click a single object to narrow down your selection to that object. With a single object selected, the **Selection** panel on the right will show the details of the object. Selection panel showing a single object If the object has actions, these can be accessed by clicking the ![hammer icon](../../../assets/f08c799488e97b944e44cb757d623940d9285fb922d671627f264376c5362fae.webp) icon. Additional actions such as centering the map on the object, deleting the object from the map, and opening the object in other applications are available from the **...** menu. This panel has four tabs. * The **Properties** tab will show the properties of the object. * You can pin properties by right-clicking and selecting **Pin property** which will cause the properties to be shown at the top and allow you to hide the other properties. * If there are any [functions](../integrate-functions/index.md) available, these can be added by selecting ![plus icon](../../../assets/00449cc4620015bd1fb657244264f229187d16cb11b06248e8ada2f0fd3801be.webp) in the bottom right. Selecting a function will add the value returned by that function to the properties list. * The **Series** tab will show any series linked to the object. * The **Events** tab will show any events linked to the object in the currently selected time window. * The **Object view** tab will show the object view configured [in the Ontology Manager's **Object Views** tab](../../object-views/overview/index.md). You can change the default tab for an object in Ontology Manager's **Capabilities** tab. ![A section in Ontology Manager labeled "Default Object Selection Panel" and captioned "Sets the default panel to show in the object selection view" with the dropdown options of "Property list", "Series list", "Events list" and "Object view panel"](../../../assets/74b13e473aed5c83864a560a813da318172894f68ed2ad60169cf3c8919c717c.webp) | Adding a function | Showing a function value | | ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ | | Selection panel with open functions menu | Selection panel containing a function | ## Remove items from the map To remove selected objects and annotations from your map, do one of the following: * Click **Delete** in the toolbar * Select the **Delete selection** entry in the right-click menu * Press the delete key on your keyboard. A toast will appear confirming the number of items that were deleted, with an **Undo** option to revert this action. To remove all objects within a single layer, use the **Delete layer** item in the **Layer actions** menu. Map application with layer actions menu open