Using the qgis2web plugin on QGIS Desktop, is it possible to export the layers to an HTML file that already exists?
I already know how to use QGIS server. I'm trying not to use a server for this solution.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
It depends what the existing page is. If it's static HTML/JS/CSS, create a new qgis2web template using that code - they are saved in
.qgis2/qgis2web. Do not just edit one of the existing templates (
canvas-size), as these are overwritten when the plugin is upgraded, and you would lose your template.
Alternatively, just use the full-screen template, and then pull it into the existing page via an iframe.
I finished project in Qgis and would like export to my webpage.
But surpise - I had try export to html with Leaflet. There are not Tile layers, raster layer, there are not showing images on mouse over,...there are lot of problems. Only OSM and few vectors layers, very poor menu,.... Before I will start investigating -is another(better) plugin for web export?If no i need go step by step with leaflet. I hope that there is easier way. Thanks
Qgis project all is working -tiles, rasters, mouse over,...: