The original version of this document is located at https://docs.qfield.org/how-to/decorations
Map decorations are a good way for adding dynamic information directly onto your map view in QField.
Elements, such as titles, grids, and scale bars provide context and can enhance the mapping experience if correctly configured.
All decorations, with the exception of the Scale Bar, must first be activated and styled within your QGIS project before being deployed to QField.
🖥️ Desktop preparation
In QGIS, you have to enable the elements you want to include in your project. To add and configure a decoration element for your QField project, you must first enable it.
This is done from the main menu:
View > Decorations
From this menu, you can select and configure available decoration types.
You can find more information in the corresponding QGIS documentation
A map grid overlays the map with lines or markers at defined intervals providing spatial reference and guidance particularly useful in remote areas.
Once configured in QGIS, the grid will automatically be visible in QField once the saved project has been synchronized or was transferred manually.
The Title Label adds a title to your map, which, for instance, allows you to display the project name.
With expressions your title can dynamically change.
Click the Insert or Edit an Expression… button to open the expression builder.
A common use case is to display the project’s title, which is set in the Project > Properties… > General tab.
-- Displays the title saved in the project properties
[% @project_title %]
Example of a more complex title:
You can combine static text with variables and functions to create a more detailed title.
Code snippet
-- Creates a title like: "Survey for Project *' %project_name% - 20xx"
'Survey for Project ' || [% @project_title %] || ' - ' || [% year(now()) %]
The Copyright Label is commonly used for branding purposes, indicating the origin of data sources or showing other information.
A good example for the use of this element is to continuously display real-time GPS information on your map.
With the right configuration, you can show the current coordinates and map scale directly on the screen.
-- Displays the GNSS coordinates and current map scale
Lat: [% format_number(y(@gnss_coordinate), 8) %] | Lon: [% format_number(x(@gnss_coordinate), 8) %]
Scale: 1:[% round(@map_scale) %]
The ability to use positioning variables (@gnss_coordinate
) offers a streamlined way to display critical location data without cluttering the main user interface.
The image element allows you to directly place a logo, watermark or other means of graphic on your map.
Important: For seamless use in QField, it is highly recommended to store the image within the project folder and use a relative path.
assets
)../
.Example of a relative path:
./assets/company_logo.png
Unlike the other elements enabling the Scale Bar can directly be done within the QField application settings, allowing for on-the-fly adjustments in the field.
📱 Fieldwork