Skip to content

Commit c950f27

Browse files
authored
Merge pull request #629 from MerginMaps/iss_628-map-annotations
Map sketching
1 parent 0dc3190 commit c950f27

14 files changed

+64
-0
lines changed

src/.vitepress/sidebar/en.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export default {
9191
{ text: 'Synchronisation in Mergin Maps Mobile App', link: '/field/autosync/' },
9292
{ text: 'Measurement Tools', link: '/field/measure/' },
9393
{ text: 'Layers in Mergin Maps Mobile App', link: '/field/layers/' },
94+
{ text: 'Map Sketching', link: '/field/map-sketching/' },
9495
{ text: 'How to Add, Edit, Delete Features', link: '/field/mobile-features/' },
9596
{ text: 'How to Reuse Last Entered Values', link: '/field/reuse-last-values/' },
9697
{ text: 'How to Stake Out Points', link: '/field/stake-out/' },

src/field/map-sketching/index.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Map Sketching
2+
<!-- this link is used in the plugin -->
3+
4+
[[toc]]
5+
6+
Map sketches can be used to draw something on the map, in addition to the regular field collection of [features](../mobile-features/).
7+
8+
## Enable map sketching
9+
10+
Map sketching needs to be enabled in QGIS when [preparing your <MainPlatformName /> project](../../gis/features/#map-sketching).
11+
12+
1. Open your <MainPlatformName /> project in QGIS
13+
2. Navigate to **Project** > **Properties**
14+
![QGIS Project Properties](../../gis/qgis-project-properties.jpg "QGIS Project Properties")
15+
16+
3. In the <MainPlatformName /> tab, check the **Enable map sketching** option.
17+
![Enable map sketching in QGIS Mergin Maps project](../../gis/features/project-map-sketching.jpg "Enable map sketching in QGIS Mergin Maps project")
18+
19+
You can also change the colour set to define the colours that will be available in the <MobileAppNameShort />.
20+
21+
4. Save the changes.
22+
23+
A new layer named **Map sketches** (`map_sketches.gpkg`) will be added to the project. This layer is used to store the map sketches.
24+
25+
5. Save and synchronise your project!
26+
27+
::: tip
28+
If you do not see this option in the **Project properties**, check for [plugin upgrades](../../setup/install-mergin-maps-plugin-for-qgis/#plugin-upgrade).
29+
:::
30+
31+
## Map sketching in the mobile app
32+
To use map sketches in the <MobileAppNameShort />, make sure they are [enabled in the project](#enable-map-sketching).
33+
34+
1. Tap the **Map sketching** button
35+
![Map sketching button in Mergin Maps mobile app](./mobile-map-sketching-button.jpg "Map sketching button in Mergin Maps mobile app")
36+
37+
2. The **Sketch** bar appears.
38+
- Draw your sketches on the map by freehand or using a stylus. You choose from 7 annotation colours. The colour set can be changed in the [project properties](#enable-map-sketching) in QGIS.
39+
![Map sketches in Mergin Maps mobile app](./mobile-map-sketching.jpg "Map sketches in Mergin Maps mobile app")
40+
41+
- Made a mistake? Use the **Eraser** button to remove your sketches.
42+
![Erase map sketches in Mergin Maps mobile app](./mobile-map-sketching-eraser.jpg "Erase map sketches button in Mergin Maps mobile app")
43+
44+
- Use the **Undo** button to revert the last changes.
45+
46+
4. Sync your changes to <MainPlatformNameLink />.
47+
48+
In QGIS, the map sketches will be displayed in the **Map sketches** layer.
49+
![Map sketches in Mergin Maps project in QGIS](./qgis-map-sketching.jpg "Map sketches in Mergin Maps project in QGIS")
50+
Loading
Binary file not shown.
Loading
Binary file not shown.
Loading
Binary file not shown.
266 KB
Loading
252 KB
Binary file not shown.

0 commit comments

Comments
 (0)