Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 3.54 KB

CHANGELOG-3.7.md

File metadata and controls

71 lines (58 loc) · 3.54 KB

Changelog Lizmap 3.7

Unreleased

Added

  • Editing - Better user experience with 1-n relations
  • New display for measurements on the map when drawing
  • Better management of QGIS projects about versions (desktop, plugin versions, etc.)
  • Form filter: Allow to use 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 and layer 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 allow running this layer actions
    • A 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 (projection EPSG: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 print configurations. For each layout, you can:
    • enable/disable it
    • set allowed groups
    • set formats and default one
    • set DPIs and default one
    • for atlas, choose an icon used for the button launching print in the feature's popup
  • New display of print options
    • print area is now display 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

Changed

  • Avoid downloading default project image multiple times. This improves first load of projects 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

Backend

  • Update some JavaScript dependencies
  • Remove some old code about QGIS Server 2
  • Update the OpenLayers library to version 7.1
  • Fix some issues when deployed with Docker
  • Bump minimum version Lizmap QGIS server plugin to 1.3.1
  • Switch to PHP 8.1 in the docker image
  • Upgrade QGIS server minimum version to 3.16
  • Upgrade Lizmap Web Client target minimum version to 3.4

Funders