Releases: qgis2web/qgis2web
v3.19.0
qgis2web supports layer groups
Exporting layer groups
- both OpenLayers and Leaflet exports achieve layer groups (non-nested) exportability
solves issue #155 #175 #351 #485 #641 #678 #738 #754 #756 #926 #935 #977 #989 #1001 #1016 #1029 - adapt the 'highlight on hover' and 'popup on hover' functionalities to work when layer groups are present
solves issue #983 #1011
openlayers | leaflet |
---|---|
Revised "Layers and Groups' tab" design
- groups and layers' list is sorted as in QGIS (previously, layer groups were moved below individual layers) and layer groups contains layers
- "Popups" choice is positioned as the last item in the list options, becomes a drop-down menu, closes if check is not selected and disappears if there are no exportable popup fields
solves issue #760 - "Popup fields" ' attributes are displayed in italics and are aligned in the same column as the parent (previously, they appeared in the last column and with long names, they were difficult to use because the window needed to be scrolled to the right)
solves issue #440 - "visibility" and "popups" choices for groups are removed (currently unnecessary).
before | after |
---|---|
New layerswitcher for Leaflet
- Introduced a new layerswitcher for Leaflet export https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree?tab=readme-ov-file, thanks to @jjimenezshaw
For Linux User
- Excluded WIKI and Preview functionality for Linux users who are unable to install and use QtWebKit (So the plugin will launch and be usable without these features)
solves issue #266 #309 #358 #474 #523 #625 #749 #1019
Minor changes
- openlayers export acquires by default declutter:false (at webmap load, all features will be visible and queryable, even if they are overlapping)
solves issue #915 #919 #1032 - xyz openlayers layers do not acquire type:base by default (with only one basemap, it's possible to disable it to have a white background)
- fix export for text-field that contains more then 255 characters, thanks to @anonymous378
solves issue #947 - Fix highlighting of multi-point and multi-line geometries for both OpenLayers and Leaflet
solves issue #589 - Fix Leaflet error for mouse out of cluster: "e.target._eventParents[i].resetStyle is not a function"
solves issue #510
WIKI
- Modified WIKI graphics for better readability (navigation menù at the top)
- Update WIKI section
v3.18.3
Fixed blocking bug.
It is now possible to read the new value format of the symbollayer color property since QGIS version 3.36
Reference qgis/QGIS#55718
Thanks to @agiudiceandrea
v3.18.2
Online WIKI section merges with the Help tab of qgis2web.
The docs folder of the repository is created, which is displayed online as GitHub pages at link https://qgis2web.github.io/qgis2web/ , and locally loaded into the qgis2web's WIKI tab (instead of Help Tab).
v3.18.1
OpenLayers Layerswitcher:
- Restored layer title in absence of style (a user can now set only the labels of a layer without necessarily setting a style with transparent fill and outline; it is possible to leave the layer without style).
OpenLayers Popup:
- Fixed bug: now popup is visible on click even if "highlight on hover" setting is active, thanks to @cukavac.
- Greatly improved OpenLayers popup graphics, both for desktop and smartphone (revised pointer, shadow, close button, height, width, overlap, etc.). Maximum popup height and width = 70% of the viewport
resolves issue #493 #532 - Added "popuplayertitle" variable in layer, which allows printing layer title in popup (important as OpenLayers allows querying multiple overlapping features with a single click, and through the layer title, the belonging layer will be distinguishable).
- Added maximum height and width for images in popup (now, regardless of size, images are resized to be fully visible, even on smartphones). Maximum image height and width = 50% of the viewport
OpenLayers Cluster:
- Fixed bug: features data set as clusters are now shown in openlayers popup both on click and with active hover.
Leaflet Layerswitcher:
- Restored layer title in absence of style (a user can now set only the labels of a layer without necessarily setting a style with transparent fill and outline; it is possible to leave the layer without style).
Leaflet Popup:
- Added maximum height and width for images in popup (now, regardless of size, images are resized to be fully visible, even on smartphones). Maximum image height and width = 50% of the viewport
resolves issue #892 #1003 - Added maximum height and width popup content = 70% of the viewport
resolves issue #493 #532 #791 - Fixed the problem of different popups on the first click and on the second (investigating it was discovered that for the incorrectly displayed popup leaflet added a class that showed the second different popup). Added a script to immediately show the second type of popup in case of images and adjusted its appearance like the first popup)
resolves issue #892
maybe it solves the issue #605
Leaflet overlay-pane:
v3.18.0
-
Fixed representation of dash lines, dot lines and dash-dot lines for lines, polylines and polygon strokes for both openlayers and leaflet export
resolves issues #1048 -
Added Set All combo box which allows you to set layers list options massively
resolves issues #833 -
Modified options for Popup Fields input box are as follows:
- no label (displays only data in the popup without showing the field name)
- inline label - always visible (displays field name on the same line as data)
- inline label - visible with data (displays field name on the same line as data, only if data is present)
- hidden (keeps information in the popup hidden at all times)
- header label - always visible (displays field name above data)
- header label - visible with data (displays field name above data, only if data is present)
resolves issues #834 #1035 #995
-
Fix apostrophes or double quotes in layer names or in legend values
resolves issues #1022 -
If layer's style is "No Symbols" the layer's name will not be visible in legend
3.17.2
- disable Mapbox GL JS export
- new openlayers geocoder: fix its marker and smartphone view
- reorganized OpenLayers/Leaflet folders
- fix openlayers layerswitcher height which did not allow the use of the pointer in the part occupied by the element.
3.17.1
Fix openlayers wms query:
- the wms query is now visible in the popup;
- only visible layers on the map will be queried, not all;
- the tables returned by the WMS server will have a defined text size;
- a loading icon has been added which makes it clear that the click on the map has been made and that the popup is waiting for the remote WMS server to respond.
3.17.0
for openlayers export:
- added area measurement
- fix popup if measurement not completed
- modified the drawing style now visible on both light and dark backgrounds
- added graphic tips for opening and closing measurement drawing
- deactivating measurement deletes measurement drawings
3.16.1
Software consolidation prior to major changes