Releases: qgis2web/qgis2web
v3.30.0
Plugin
- The choices set with the "set all" combo are saved when the interface is closed.
- The "getFeatureInfo?" option only appears if the WMS layer has the "Can identify" property.
Openlayers e Leaflet
- Supported the export of images, audio, and video in the popup
Leaflet:
- Adjusted code for label buffer export [solves #1175]
Openlayers
- Full support for WFS layers, formats: JSONP, GML2, GML3, and GeoJSON (website upload required to bypass CORS, fallback with allorigin for local-only projects) [solves #773, #993, #1039]
While the remote WFS is downloading, a loading icon is displayed
If the resource is downloaded successfully, the icon disappears, otherwise, an alert icon is displayed
- Full zoom levels with "constrainResolution: true"
- New design for attributions (smaller size, different color, no underline)
- "Highlight on hover" illuminates the geometry above
WIKI
- update documentation
Qt6 full support
Plugin:
- Qt6 full support, with preview window [solves #1122]
- WIKI window support
OpenLayers and Leaflet:
- Supporting "Map Units" for the stroke [solves #1168]
OpenLayers:
- Improved area measurement
Leaflet:
- Adjusted multi-selection for Attribute filters in the Appearance tab [solves #1170]
- Support for large SVG icons; they are no longer clipped in the legend [solves #1169]
- Modified the leaflet-measure.js library to be compatible with the latest leaflet.js [solves #1173]
Other:
- update WIKI
Qt6 support
Plugin:
- Qt6 support, without preview [solves #1122]
UI:
- Reorganized the Scale/Zoom menu in the Appearance tab (moved "Match Project CRS" here and renamed it to "Fit to vector layers extent")
- Added warning for users with dual integrated/dedicated video cards (force QGIS to use the integrated video card via the control panel to avoid crashes)
OpenLayers:
- Increased OpenLayers library version from 6.15.1 to 10.6.0
- Updated ol3-search-layer to andreaordonselli/ol-search-layer/ (new repository published for the occasion)
- Legend icons for layers with rule-based symbology are now visible
- Added support for expressions in labels (allows concatenation of multiple values to create complex labels)
- Adjusted the "Fit to vector layers extent" function
Leaflet:
- Increased Leaflet library version from 1.7.1 to 1.9.4
- "Fit to vector layers extent" now also blocks zooming out beyond the pan limit
Other
- updated WIKI
- Improved photon-geocoder code and enhanced the OpenLayers search marker
v.3.27.0
Plugin
- Add symlinks on install of QtWebEngine to locate the Qt Frameworks for preview on macOS (thanks to @nameloCmaS for pull) [solves #1094]
Openlayer and Leaflet
- Add support to read embedded SVG Marker Symbologies (thanks to @nameloCmaS for pull) [solves #1149]
- Improved address search, you can choose between OSM and BAN (thanks to @yohann1c for the pull)
Leaflet
- Fix the styling of leaflet buttons
v.3.26.0
Openlayers and Leaflet
- New option for groups in the graphical interface "Collapsed if LayersList," which collapses the group in the LayerSwitcher. qgis2web reflects the group as open/closed as configured in QGIS [solves #251 #1078]
Openlayers
- Adjusted export of SimpleFill icons for LayersList
- The map automatically moves if the popup goes off-screen (autopan)
- Fixed double quotation escape for "value" in style creation [solves #1139]
- Adjusted buffer width below the text
- Improved WMS query: first URL provided, then URL encoded, then passed through URL proxy
Leaflet
- Removed QgsApplication.initQgis() from leafletWriter for use with QGIS 3.42
- Fixed apostrophe escape for "classAttr" in style creation [solves #1139]
UI
- The form was extended for the recommended QGIS version (it was not visible on some PCs) [solves #1135]
- Updated the recommended version to QGIS 3.40
Other things
v3.25.1
- Preview also usable on MAC computers [solves #1094 ] thanks to @jaspermowatt
- Leaflet: Adjusted link export [solves #1126 ] thanks to @paulsoz
v3.25.0
Leaflet:
- Export does not return an error if the data contains apostrophes or double quotes [solves #1120].
- The logic for counting symbols in the leafletLayerScripts file has been modified, which seems to have resolved the issue causing QGIS to crash with the error "Windows fatal exception: access violation, slCount = symbol.symbolLayerCount()" [solves #1051 #1106 #1117].
Openlayers:
- Attribution definitions have been improved.
- Style definition is supported in points and pixels in addition to millimeters.
- Simple Marker and SVG Marker symbols support X and Y anchoring set for the symbol, now zoom work well [solves #1121].
- The use of multiple Simple Marker and SVG Marker symbols within the same Marker is supported.
- Improved creation of PNG icons for the LayersList; icons are clearly visible even in cases of multiple symbols and different anchor points
| before | after |
|---|---|
- Legend support for raster layers is now available [solves #1109]
| before | after |
|---|---|
v3.24.0
Openlayers and Leaflet:
- supported apostrophe and double quote everywhere: in layer group title, in layer title, in categorized/graded legend, in project title, in project abstract [solves #1114 #974 #1089]
Openlayers:
- Added cluster export for categorized and graded point geometries with variable color from green (few geometries) to red (many geometries) [solves #953]
Main dialog:
- Added saving of the Popups check state in the Layers and Group tab [solves #1118]
v3.23.0
Openlayer and Leaflet:
- remove polyfill
- Add Basemap choice for XYZ layers - it will be reflected in LayersList as radio button (not checkbox) (thanks to @pietrocomelli) [solves #1077]
qgis2web interface:
- added text for recommended qgis version
Openlayers:
v3.22.0
QtWebEngine
Updated the browser underlying the webmap preview from QtWebKit to QtWebEngine.
Pros: now it is possible to update the libraries and write advanced javascript code because QtWebEngine is a modern browser that will show the correct final result in the preview window.
Flaws: it only works on recent versions of QGIS and its dependency must be installed (installation procedure created for all environments but tested only on Windows, any help is highly appreciated)
When you open the plugin for the first time, a first choice is shown to decide which browser to use.
If you install QtWebEngine (new browser) this will always be used and the browser console will print any errors from the webmap preview directly into the QGIS python console, without exporting the project.
qgis2web graphical interface
- the default template is "full-screen" instead of "canvas-size"
- added button for donations to support development
openlayers e leaflet
- the Layers list exported as Expanded will show the button to be reduced/extended and will be automatically reduced on smartphones after half a second from opening (thanks to @ntrip6 for the advice)
solves issue #928 - added shadow behind controls
openlayers
- modified the style of the measurement tool because it does not work in the case of layers with graduated svg icons
- updated ol-geocoder library, now works perfectly, even in the new preview
- updated ol-layerswitcher library, now includes the button to reduce/expand the Layers list
- improved the code for the singleclick query, now the features query is separate from the wms query
- optimized the attribution management code
- improved disabling of "popup on hover" and "highlight on hover" if I move mouse pointer over an ol-control element (controls/buttons)
leaflet