====== Layer Group ====== A Layer Group contains one or more layers, usually, of the same type. A single Layer Group could contain all layers that make up a city's roads, hospitals, and city limits, or it could contain all road types for easy organization. Layer Groups are listed in the [[Using the Layer List|Layer List]] and layers are drawn on the map starting at the bottom, with the topmost layer group drawn on the top. Since Layer Groups hold several layers with like information, they are extremely useful to show and hide large chunks of information by toggling its visibility checkbox. ===== Working with Layer Groups ===== Each layer group shown in the layer list is represented by a bar that contains: * A checkbox that controls whether the layer group is visible (checked) or hidden (unchecked) on the map * The layer group's name * A button on the left that toggles the layer group between the expanded and collapsed state In addition to these controls, you can interact with each layer group bar in the following ways: * Right-clicking to open the [[#Layer Group Context Menu|layer group context menu]] * Double-clicking anywhere else on the bar to toggle the layer group between the collapsed and expanded state * Clicking and dragging to change the layer group order on the layer list ==== Adding a Layer to a Layer Group ==== Creating a new or adding an existing layer to a layer group can be done in one of four ways: * Right-clicking on the layer group and choosing "New Layer" from the [[#Layer Group Context Menu|context menu]] and selecting the layer type from the flyout menu * Clicking on the layer group name to select it, and then clicking the "New Layer" button on the [[Using the Ribbon Bar#Edit Tab|ribbon bar's Edit Tab]] or the "New Layer" button's drop down menu to select the layer type This will open the [[Building a Map with Layers#Creating a New Layer From Scratch|Define Layer Columns]] window for you to create new columns of data for your layer. * Right-clicking on the layer group and choosing "Add Layer" from the [[#Layer Group Context Menu|context menu]] * Clicking on the layer group name to select it, and then clicking the "Add Layer" button on the [[Using the Ribbon Bar#Home Tab|ribbon bar's Home Tab]] This will open the file browser where you can select your layer to add from your computer. For more information on how to create layers to your layer group, see the topic"[[Building a Map with Layers|Building a Map with Layers]]." ===== Layer Group Context Menu ===== Right-clicking on a layer group bar opens the layer group context menu, which contains the following options: **Move up / down / to top / to bottom** - Changes the position of the layer group on the layer list, which in turn controls the order in which layers are drawn on your map. **Zoom to extent** - Centers the map on the layer group and zooms to a scale at which every feature in the layer is contained within the map window. **Rename** - Changes the name of the layer group. (This does not change the name of the layer's source data file, if any.) **Remove** - Removes (unloads) the layer group from the map. **Add Layer** - Opens a file browser where you select your layer to add from your computer. **New Layer** - Opens a flyout menu from which you can select the type of layer that you want to add. Then, the [[Building a Map with Layers#Creating a New Layer From Scratch|Define Layer Columns]] window will open for you to customize your new layer's data. **Refresh Layers** - Reloads all layers in the layer group.