v3.22.0
版本发布时间: 2024-08-05 17:41:42
qgis2web/qgis2web最新发布版本:v3.22.0(2024-08-05 17:41:42)
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) partially solves issue #251 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
- improved Widget Icon and Widget Background color management (now all widgets acquire the chosen color) solves issue #793
- fixed the graphics in case of active filters, now the filters scroll, not the page solves issue #1079