Layout editor

Insert/Edit Legend (Class maps)

 

Insert or edit a legend for a domain Class map. The legend will be added to your layout.

A legend for a map which uses a class domain is based on the occurring class names in the domain of the map. Colors for the classes are derived from the representation of the layer.

Tip:

It may be handy to open the domain and/or the representation of the layer for which you are adding a legend:

Dialog box options:

Number of columns:

Select the number of columns in which the legend should be displayed.

Code:

Select this check box to obtain the codes of the classes in the domain as legend text.

Name:

Select this check box to obtain the names of the classes in the domain as legend text.

Description:

Select this check box to obtain the description of the classes in the domain as legend text.

You can combine the Code, Name and Description for legend texts by selecting multiple check boxes. If codes or descriptions appear to be empty, you can edit them by opening the domain of the map, see the tip above.

 

 

Selectable classes:

The left hand list box lists all classes that are present in the domain.

You can select one or more classes and add them to the right hand list box by using the > button.

Selected classes:

The right hand list box lists the class names that will be shown in your legend. By default all class names that occur in the domain are listed.

You can hide one or more classes from the legend by using the < button, see below.

This list box also shows the order of the selected classes in the legend: drag individual classes up or down in the list.

To add one or more selected classes to the legend:

  • select one or more classes in the left hand list box
  • (to select multiple classes, press and hold down the Shift or the Ctrl key while selecting);

  • then press this > button.

The classes will be added to the bottom of the list in the right hand list box.

To remove one or more selected classes from the legend:

  • select one or more classes in the right hand list box (to select multiple classes, press and hold down the Shift key while selecting);
  • then press this < button.

Font name:

Select the font in which the legend texts should appear; you can select an installed font from the list.

Font size:

Type a value for the font size (pt) in which your legend texts should appear. Note: The font size also determines the height of the legend boxes.

Bold:

Select this check box to have legend texts appear in bold.

Italic:

Select this check box to have legend texts appear in italics.

Box width/height ratio:

Type a value for the width/height ratio of the legend color boxes.

Extra height:

If you wish to obtain extra line spacing between your legend classes (i.e. in vertical direction), type a value.

Transparent:

Select this check box if the background area within the legend should be transparent; if the legend is displayed on top of other items, these other items will still be partly visible (minimum loss of other displayed items).

Clear this check box to have the background of the legend appear as non-transparent white space.

Tips:

  1. The order of the classes as appearing in the legend can be easily changed by dragging the classes in the right hand list box up or down to another position.
  2. You can also change the order of classes in the domain: choose Manual Ordering from the Edit menu in the Domain Class editor, and drag classes to a new position in the list. This automatically changes the default order of the classes in the legend, but also for instance the order of records in an attribute table, etc.
  3. In the Layout editor, a legend can be sized by dragging for instance one of the corner size handles of a selected legend to a new position. The mouse pointer changes into a double-sided arrow when at the right position to start dragging. The box sizes and the font in which legend texts are displayed will be automatically adapted to the new size.
  4. To store annotation, you need to save the layout. Open the File menu and choose the Save or the Save As command. You can also click in the white space of your layout, and click the Save button in the standard toolbar.

See also: