v3.18.1
版本发布时间: 2024-02-13 01:00:56
qgis2web/qgis2web最新发布版本:v3.22.0(2024-08-05 17:41:42)
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:
- Changed overlay-pane z-index. Measurement now appears above the basemaps and layers, as well as the popup, as well as geolocate user resolves issue #985