qgis-js
qgis-js copied to clipboard
QGIS core ported to WebAssembly to run it on the web platform
The current `MapLayer` implementation cannot deal with hierarchical layers (e.g. layer groups). Instead of doing our own abstraction, we should expose the QGIS internals: [`QgsLayerTree`](https://api.qgis.org/api/classQgsLayerTree.html), [`QgsLayerTreeModel`](https://api.qgis.org/api/classQgsLayerTreeModel.html), [`QgsLayerTreeNode`](https://api.qgis.org/api/classQgsLayerTreeNode.html), [`QgsLayerTreeGroup`](https://api.qgis.org/api/classQgsLayerTreeGroup.html), [`QgsLayerTreeLayer`](https://api.qgis.org/api/classQgsLayerTreeLayer.html). Based...
If a QGIS project has a layer group set to visible==false, setting the visibility of the individual layers to true in QGIS-js does not render the layers on the map....
It would be useful to render larger tiles for high-dpi monitors. One could have a switch depending on the screen size. E.g. when a browser window is larger than 2000...
![grafik](https://github.com/qgis/qgis-js/assets/884476/42f10ca4-b7ce-44d0-a1d0-5016697a4a13) It seems like Chrome does some color management which results in slightly dumper (less vivid) colors - when compared to QGIS Desktop and Firefox wasm rendering. One can see...
It would be good if there could be feature info support (Identify tool) in the JS-QGIS API. QGIS has different identify-tools modes: - Current layer - Top-Down, Stop at first...
If the QGIS project uses a WMS / WMTS layer, the project loading will get stuck, with this warning being emitted all the time: ``` QEventLoop::WaitForMoreEvents is not supported on...
This question came up by @andreasneumann while testing out some own projects. See the notes in the [Qt6 WebAssembly reference](https://doc.qt.io/qt-6/wasm.html#fonts) for context. A real cool solution would be the proposed...
When using a QGIS project that contains a cloud-optimized GeoTIFF (COG) on a remote server, it fails with a runtime error: ``` qgis-js.wasm:0x4792c6f Uncaught (in promise) RuntimeError: memory access out...
Rendering of vector tiles or raster tiles throws a RuntimeError "operation does not support unaligned accesses" First there are a couple of suspicious warnings from QgsNetworkAccessManager code: ``` qgis-js.js:1631 qt.core.qobject.connect:...
In the above window, the input text widget where one can enter a preview timeout value, the widget doesn't allow keyboard input. Only the Arrow up/down widgets work. To change...