3.7.0-alpha.1
Pre-release
Pre-release
3liz-bot
released this
25 Jul 16:09
·
1557 commits
to master
since this release
Release Lizmap Web Client 3.7.0-alpha.1
Use only the ZIP file provided in this release called lizmap-web-client-3.7.0-alpha.1.zip
⚠
If you are using Docker, images are available on Docker Hub 🐋:
docker pull 3liz/lizmap-web-client:3.7.0-alpha.1
Do not forget to go in your QGIS desktop plugin manager and regularly update all your plugins to their latest version 🤗
Requirements
To be able to run this version of Lizmap Web Client, you need :
- QGIS Server 3.16 minimum, check the latest monthly bugfix release on the QGIS roadmap
- Lizmap QGIS Server plugin 2.8.0 minimum
- QGIS project files targeting at least Lizmap Web Client 3.4 to be displayed
Changelog
Added ⭐
- Refactoring of the legend:
- Add checkbox in the legend to enable/disable some symbols within the layer
- Add symbols of the legend item by default for all layers and rendering rules
- Group
project-background-color
to display the default background color - Use any base layer as a background, the usage of legacy keywords
osm-mapnik
etc. is now deprecated - These new background layers must be in a group called
baselayers
.
- Improve the "QGIS theme"
- Editing capabilities: Better user experience with 1-n relations: the data tables of the related child layers
now respect the position configured in the QGIS editing drag&drop designer. - Popup/Editing - Add a combobox in the popup to allow creating a new child feature for the related
layers. This will allow creating child features directly from the parent popup. - New display for measurements on the map when drawing
- Better management of QGIS projects about versions (desktop, plugin versions, etc.)
- Form filter: Allow using a second field for the numeric type like it is already possible for dates.
This is useful when the layer features contain two fields describing a minimum and maximum value of the same property. - Action module:
- New support for
project
andlayer
scopes: the actions can now be used outside the popup, for a specific chosen layer or as a generic project action.- A new web component
<lizmap-action-selector>
is used to let the user choose an action and run it (for the layer and project scopes) - A new dock is available and shows the list of the project actions, with buttons to run an action and another to reset the results.
- For the layers with actions configured, a click on the layer in the legend also shows the action selector and buttons and allows running this layer actions
- A new web component
- An SVG icon can be used instead of a bootstrap icon as a background of the popup action buttons
- the current map extent and map center are sent as parameters in
WKT
format (projectionEPSG:4326
) and can be used in the PostgreSQL function - Actions can be run from external JavaScript scripts, for example:
// Run an action lizMap.mainLizmap.action.runLizmapAction(actionName, scope = 'feature', layerId = null, featureId = null, wkt = null); // Reset the action lizMap.mainLizmap.action.resetLizmapAction()
- A WKT in
EPSG:4326
can also be sent as an additional parameter.
This is only possible when running the action with JavaScript.
This allows to send a geometry to be used by the PostgreSQL action
(for example, to get data from another table with geometries intersecting this passed WKT geometry) - The JavaScript and HTML code has been modernized (no more jQuery calls, usage of web components, etc.)
- New support for
- Dataviz The editor can now configure how the plots will be organized in the web interface.
- A new Drag & Drop layout tab has been added in Lizmap plugin Dataviz tab,
which allows to create tabs and groups like it can be done for forms.
- A new Drag & Drop layout tab has been added in Lizmap plugin Dataviz tab,
- New print configurations. For each layout, you can:
- enable/disable it
- set allowed groups
- set formats and default one
- set DPIs and default one
- set a custom icon for a QGIS atlas layout in the feature's popup
- New display of print options
- print area is now displayed as a mask on the map
- an advanced panel allows you to:
- set X/Y parameters for the grid
- set main map rotation
- set DPI
- Add a button to paste a geometry
- Add MGRS coordinates display on the map
Fixed 🐛
- The "locate by layer" selector shows the layer title when unselected on mobile
- Display the reverse geometry button only for linestring and polygons, not for points
Changed ♻
- Avoid downloading the default project image multiple times. This improves the first load of the project page
- Update home page title configuration
Updated
- New drawing toolbar, migration from OpenLayers 2 to OpenLayers 6
- Update Plotly.js to 2.16.3
- Update proj4 library
Translations 🗺
- Update translated strings from the Transifex website
Deprecated ⚙
- The AtlasPrint QGIS server plugin should be removed from the installation. It's not used anymore.
- Layers called
osm-mapnik
,ign-photo
,google-satellite
etc- See the documentation about these "legacy" layers
Backend ⛽
- A lot of JavaScript code cleanups
- Update some JavaScript dependencies
- Remove some old code about QGIS Server 2
- Update the OpenLayers library to version 7.3.0
- Fix some issues when deployed with Docker
- Switch to PHP 8.1 in the docker image
- Upgrade Lizmap Web Client target minimum version to 3.4
Funders 🙂
- Avignon
- Calvados
- ICRC
- Geolab.re
- Le Grand Narbonne
- Parc naturel régional du Haut-Jura
- Tenergie
- Terre de Provence Agglomération
- DDTM de l'Hérault
The Lizmap team 🦎