Skip to content

Commit f1d242b

Browse files
committed
Add 2025.6.25 upgrade notes
1 parent cefb7c1 commit f1d242b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

src/release_notes/QWC2UpgradeNotes.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,31 @@
22

33
This document describes configuration and code incompatibilites, as well as other aspects, which need to addressed when updating to a new version of the QWC viewer.
44

5+
Update to qwc2 2025.6.25
6+
------------------------
7+
8+
**OverviewMap moved to dedicated plugin**
9+
10+
The `OverviewSupport` has been moved from a map support tool to a dedicated `OverviewMap` plugin.
11+
12+
Make sure you register it in `config.json` as [follows](https://github.com/qgis/qwc2/commit/4db8ff6723b71aadcf1e965b3adea9589fce32de#diff-c9b5b86d0c26f8a7cfef75915816d853854da00a579036406682b85b78e70351).
13+
14+
If you are using a custom viewer build, modify your `appConfig.js` as [follows](https://github.com/qgis/qwc2/commit/4db8ff6723b71aadcf1e965b3adea9589fce32de#diff-8679e68cdbc50fb08dc6e78af5313b163d06b5199f4e75a05aa5e60484fad4c9).
15+
16+
**Scalebar integrated into BottomBar**
17+
18+
The `ScalebarSupport` map plugin as been removed and integrated directly into the `BottomBar`.
19+
20+
You can choose whether to display a scale bar by setting the `displayScalebar` option in the `BottomBar` config section in `config.json` (default is `true`).
21+
22+
If you are using a custom viewer build, modify your `appConfig.js` as [follows](https://github.com/qgis/qwc2/commit/b423a77229bad441e2b57c06715d9a1b96a17177#diff-8679e68cdbc50fb08dc6e78af5313b163d06b5199f4e75a05aa5e60484fad4c9).
23+
24+
25+
**Map margin handling (only custom plugin code)**
26+
27+
If you have custom plugins which honoured `state.windows.mapMargins` for placement within the visible map area, it is recommended to render them within the `MapContainer` element using a portal instead. See [this example](https://github.com/qgis/qwc2/commit/3175dbc79a6b3103c44bd12c81d32202009865b7).
28+
29+
530
Update to qwc2 2025.6.10
631
------------------------
732

0 commit comments

Comments
 (0)