Skip to content

QGIS: qgis2web

anthonyblackham edited this page Mar 2, 2018 · 1 revision

QGIS2Web is a fantastic addon for QGIS that enables you to quickly make portable web apps of your GIS data using either OpenLayers or Leaflet. This guide is a quick overview of getting a map up and running.

Create Map in QGIS

Adding a Basemap

In former version of qgis2web there was a basemap selector but in order to preserve the modularity of code, this is now handled in QGIS first using XYZ Tiles. Since my map is a historical map I'm going to use the Pioneer basemap from thunderforest.

https://{s}.tile.thunderforest.com/pioneer/{z}/{x}/{y}.png?apikey=<insert-your-apikey-here>
https://{s}.tile.thunderforest.com/pioneer/{z}/{x}/{y}.png?apikey=7c352c8ff1244dd8b732e349e0b0fe8d
https://{s}.tile.thunderforest.com/pioneer/{z}/{x}/{y}.png?apikey=db5ae1f5778a448ca662554581f283c5