Tooltip — Configure the tooltip for some layers
Principle
You can let the user activate map tooltips when hovering features by choosing a list of fields to display.
Prerequisites
The layer must be published as WFS (see WFS/OAPI) and the primary key must be published as well in the Layer properties.
Configuring the tool
For setting a tooltip on a layer:
Click the
button.
Choose the layer.
Select some fields to display in the tooltip.
Optionally, choose to display the geometry.
If you display the geometry, you can set the color.
Optionally, check Display layer features to draw the features on the map with a symbology as close as possible to the QGIS style of the layer, for instance the icons of a point layer. The hovered feature is enlarged.
Muista
The QGIS symbology is converted with the SLD standard, so the result is not always perfect. SVG and PNG files must be embedded in the symbology properties.
To edit a layer in the table, select it and click the
button or double click on the row.
To remove a layer from the table, select it and click the
button.
Fields will be displayed with their alias if it’s defined. See Add a alias on a field.