Added - Rule-based styling exports. Any rule-based layer is drawn with one class per rule that draws a symbol, and the legend lists the rules by their label. QGIS itself works out which rule draws each feature when you export - nested rules, ELSE rules and switched-off rules behave as in QGIS, and a layer whose rules are all switched off draws nothing - and the answer travels in the data as a Style property that popups do not show. Reported in the Fidelity tab where the web map differs: a feature two rules draw shows only the symbol on top, scale ranges on rules are not kept, filters that read the map view (such as @map_scale) are worked out once at export, and symbol levels are not kept. Rule-based layers used to be refused unless every rule picked values of one field. - A measure tool on exported maps: whoever opens the map can measure a distance or an area on it, measured on the ground whatever CRS the project uses. On by default, like the other map controls; untick Measure tool on the Appearance tab, or the Processing algorithm's Measure tool parameter, to leave it off. Its units - Metric, Imperial or Nautical - are chosen beside that switch and saved with the project, and the scale bar reads in them too; the map has no units control of its own. A distance is two points: the second ends it, and clicks go back to the map (popups, panning) until Distance is pressed again. An area closes on Ctrl + click (Cmd + click on a Mac) at its last point, as well as on a double-click, a double-tap or Enter, and a hint above the tool says so while one is being drawn. The panel is compact: its buttons read Distance and Area, the reading shows under them only while there is one, with no description of the tool, and Clear is a row under that. It sits bottom left, just above the licence notice, and is not drawn in a cartograph's interactive frames. - Filter by, a new choice on a vector layer's This layer only row in the Layers tab: the web map gets a panel, top left, that filters the layer by that field - a slider for a number or a date, a tick box per value for text of up to 50 values (a field with more is refused and the Fidelity tab says so); clearing every tick box hides every feature, as no category ticked does in QGIS. Headed by the field's alias. The Fidelity tab also says what it cannot do: features with no value in the field are hidden while the filter is there, a filtered layer's points are not merged into count bubbles, and its labels are not filtered. - Let readers switch basemap, a new switch under the basemap on the Map tab, off by default: the map carries a Basemap panel, bottom left with the zoom controls, scale bar and measure tool, listing the keyless basemaps with the map's own ticked. In a Standalone HTML or Share ZIP map it leaves out OpenStreetMap, whose servers refuse maps opened from a file. The Fidelity tab and the export's list of network dependencies name every provider the panel can reach. Not available with no basemap or with a ground surface. - A width and a height for the legend and the layer switcher, beside their switches on the Appearance tab: 105 to 600 pixels wide and 50 to 1000 tall, and never bigger than the map, so the page does not scroll; on a narrow screen the width yields, and a panel narrower than its rows wraps them. Auto, the default, keeps them exactly as they were. From Auto the arrows go either way, from the size Auto gives a typical panel, and ↺ at the end of the row puts both boxes back on Auto. A WMS or WMTS legend picture follows the legend's size. - Exporting without the dialog, a new guide: batch exports from the Processing toolbox, the QGIS Python console and qgis_process, and the one-time runtime setup they need first. - Links and pictures in popups. A value that is a web or email address (http, https or mailto) shows as a link that opens in a new tab; other schemes stay text. A field whose QGIS widget is Attachment with its document viewer set to Image shows its pictures, fitted to the popup: a picture on this computer is carried with the map (inside a Standalone HTML file, beside index.html in Folder and Share ZIP, once however many features show it, and counted in the map's size), scaled down to 1280 pixels across when larger, up to 1 MB each and 20 MB per map; a picture that is a web address loads live. Only pictures in the project's folder or under the widget's default path are carried, wherever the path leads (.., an absolute path, a link): a picture anywhere else shows its path, and the Fidelity tab names it. Links and web pictures need an internet connection when the map is viewed, and the export's list of network dependencies names the web pictures; carried pictures work offline. The Fidelity tab says what was carried, made smaller or left out, and no attribute value can add markup to the page. qgis2web users report broken attribute links (qgis2web#1126, https://github.com/qgis2web/qgis2web/issues/1126) and overflowing popup pictures (qgis2web#1196, https://github.com/qgis2web/qgis2web/issues/1196). - Cloud Optimized GeoTIFFs QGIS reads over the web (/vsicurl/https://... or an https:// address) export as live layers: the map reads the parts it draws straight from the address, and nothing is carried or downloaded. For a 3-band colour composite in Web Mercator (EPSG:3857) that QGIS draws as the file holds it, compressed with DEFLATE, JPEG, WEBP or nothing; the server must allow web pages to read the file (CORS) and to ask for parts of it (Range requests). LZW, ZSTD and LERC files are refused until the runtime decodes them, and so is a file that is not a GeoTIFF (such as a VRT) or whose header cannot be read. The header is read off the QGIS window's thread, from the copy GDAL kept when QGIS opened the layer, or from the server again if GDAL let it go. Works in a map opened from a file too. - Time-enabled WMS (WMS-T) layers that follow QGIS's time export as a fixed snapshot: the map asks the service for the time QGIS draws at export (from the temporal controller, or the layer's predefined date) and has no time slider; the Fidelity tab says which time. Still refused, with a reason: an export with no QGIS map view to read the time from (Processing, a cartograph frame), a layer matched to the closest or whole range rather than the start or end of it, and a layer with a reference time. - Labels from an expression (concatenations, CASE, format_number and any other QGIS expression) export, on web maps and in cartograph live frames: the text is worked out for each feature at export, as QGIS works it out, and saved with the map, so it shows the data as it was then. Only the text is saved, not the fields the expression reads. Variables QGIS sets only while drawing (@map_scale, atlas variables) have no value at export, and the Fidelity tab says so. These layers used to export with no labels. - WMS and WMTS legends (qgis2web#1015, https://github.com/qgis2web/qgis2web/issues/1015): a WMS or WMTS layer's legend entry shows the picture the service draws for it, as QGIS's legend does - the style's LegendURL, or for a WMS a GetLegendGraphic request built from what QGIS stored when it loaded the layer, one for each sublayer of a layer made of several. The browser loads it from the service when the map opens, so it needs an internet connection; offline the legend lists the layer by name. An address that carries an access key, or that is not a web (http or https) address, is left out. A cartograph's legend still lists the layer by name; the Checks tab says so. Changed - The Processing algorithm exports what the dialog would. Export to OnlyMap web map now uses the choices the dialog saved in the project - which layers to include, each layer's popup, field and label choices, clustering and point names, the map name, the basemap and the rest of the Appearance tab - where it used to export every layer with the defaults. A title or map control passed to the algorithm still replaces the saved one, and a project never opened in the dialog exports as before. A project saved with Export only the features in this view is refused, with a message, since a Processing run has no QGIS view to clip to: it used to export every feature. Export print layout to cartograph (Beta) likewise uses the layout's saved Map frames choices and resolutions, the Layers section's popup and label choices, Print settings and Browser appearance fields; Frames and Image frame resolution, when passed, replace every map's saved choice. Like the dialog's Save, it draws an image frame at least at the resolution the page is saved at - the saved Print settings', else 300 dpi - where it used to draw it at the frame's own resolution, 200 dpi by default. - Line labels repeat along long lines. With Repeat set in a line layer's label placement, labels repeat where QGIS repeats them: the line cut into equal pieces at least that long, each labelled at its middle, the distance in millimetres, points, pixels or inches taken at the view where the layer fills the map, and in map units or metres on the ground as set. With no Repeat set, a long line is labelled again every 250 pixels at that view, either side of the label QGIS draws at its middle, so a line keeps a label in view as you zoom in; a line shorter than three spacings keeps its one label. The repeats are fixed along the line, so a layer's labels show from the zoom where no repeat overlaps the next. At most 50 labels sit on one line and 5,000 on one layer; past either the repeats spread out, and the Fidelity tab says so. - Formatted numbers in a layer's label settings apply to labels from a field or an expression, and to a point layer's Names: a label that reads as a number has the decimal places and plus sign QGIS draws, in QGIS's number format for its language (for example +1.234,50 in German, with a narrow no-break space between thousands in French). The text is worked out at export. Fixed - At Appearance > Size Largest, a long legend or layer list no longer makes the page scroll: on Auto each panel stops at half the map's height at every Size, where the larger Sizes grew it past the half and, at Largest, past the map's foot. A legend with a picture swatch or a raster or web layer in it, which Size does not grow, reaches half the map at every Size too, where it stopped at a quarter of it at Largest. - The Fidelity tab and the export's list of network dependencies name cartocdn.com, the domain the Dark Matter and Voyager basemaps really load from. They named carto.com, which the map never contacts. - A long popup value with nowhere to wrap - a file path, a web address, an ID - breaks onto the next line inside the popup instead of running past its edge. Text with spaces still wraps between its words. - A WMS layer made of several sublayers stacks them as QGIS draws them. The web map asked the service for them in the reverse order, so the one QGIS draws at the bottom covered the others; each sublayer's style stays with it. - A line's label sits at half its length along it, as QGIS places it. It was on the line's middle vertex, which on a line of two vertices is one of its ends. - A line's label is placed along it as measured in the CRS QGIS draws it in: the project's, or a cartograph map frame's own. A frame in Web Mercator in a project in degrees measured the line in degrees, and a project in any projected CRS but Web Mercator in Web Mercator, which put the label of a long north-south line degrees away from where QGIS draws it. - A point layer's Names showing a different field from its labels draws every accented or other non-ASCII letter of the names. Letters only the names field used drew blank. - Labels on multi-part features land where QGIS draws them (qgis2web#1095, https://github.com/qgis2web/qgis2web/issues/1095): every point of a multipoint is labelled, not only the first; a multi-part line is labelled on its longest part, not the one with the most vertices; and Label every part of multi-part features is honoured, with a label on every part of a line or polygon. - A raster QGIS reads over the web that is not exported live (see Added) is refused with one Fidelity row saying why and to save a local copy (Export > Save As...), without reading the file. It used to block the export as a missing file while also listing it as exported as a Cloud Optimized GeoTIFF. - OGC API Features and SensorThings layers are described as web services in the export, like WFS layers: their features are downloaded once and embedded. They were described as read from a database. - The map opens showing the whole data extent, top to bottom and side to side, in the window it is opened in. The opening zoom only fitted the extent's width into a nominal 512px, so tall data opened cropped top and bottom and a phone cut the sides off wide data. A map whose extent already fits opens as before; a map opened with a saved camera (the Preview keeps one) or with its center or zoom edited by hand opens on that. - On a narrow screen the OnlyMap licence badge, bottom left, no longer covers the data credit, bottom right - on a relief map, whose imagery credit is long, from about 540px wide down. The credit moves up clear of the badge and of whatever else is in the bottom row, and back down when there is room. - The bottom-left corner narrows upward, the widest control at the bottom: the measure tool, then the basemap panel, the scale bar and the zoom controls, all above the licence notice. Its controls are scaled by Size so that the corner stacks them at their scaled size, and on a window too short for them they fold into their drawer, as on a narrow one, rather than reach the top-left corner's panels. - At a Size above Normal on the Appearance tab, the map controls fold into their drawers in time: at Largest the measure tool reached under the legend and past the edge of a phone's screen. A bigger size folds them at a proportionally wider map, and in a drawer every control is at its Normal size, which the drawer has room for - a scaled control overflowed it, and the measure tool could not be reached at all. - The legend lists the top layer first, as QGIS's Layers panel does, with a layer's labels right under it. It listed them bottom first, in the order the map draws them. The layer switcher's order is still OnlyMap's. - An export after a preview carries the labels and rule classes of now when their expressions read a project or layer variable that has changed since, and reads again whenever one reads the clock, chance or another layer (now(), rand(), aggregate() and the like). The preview's read was reused, with the variable's old value and the preview's time.
yes
lawrencenika
2026-11-05T03:40:18.887376+00:00
3.44.0
4.99.0
None
no
Plugin Tags