I have designed a non-real map, using QGIS. Until now, my map was very basic (a few layers with some polygons, dots, and lines). This map is a "decal" from a raster image.

I recently add some custom labels, which are displayed into a certain zoom range, and also some labels (using invisible dots or lines, if I need curved labels).

Here is how a part of my map looks in QGIS :

enter image description here

Here is what the qgis2web export give me for the same area :

enter image description here

How can I export the map to the web in the most accurate way possible?

  • 3
    to preserve curved labels you will need to generate tiles plugins.qgis.org/plugins/quantumnik will create tiles in QGIS
    – Mapperz
    Jan 19, 2016 at 18:50
  • Of course, that's the other way to do it as @Mapperz says - a raster layer, tiled or untiled. Jan 19, 2016 at 20:13
  • Thank you for your insights. I can't find the plugin in QGIS although it's available on the previous link.
    – Jean
    Jan 19, 2016 at 20:30
  • you can copy the files from github and load locally (into C:\Users\user\.qgis2\python\plugins\quantumnik) you might have to restart QGIS to have it picked up.
    – Mapperz
    Jan 19, 2016 at 20:44
  • @TomChadwin I have the same problem. please if you can in the new version of the plug in create the possibility, that the line names can be placed parallel to the lines. because we need it. Dec 17, 2020 at 10:25

1 Answer 1


I'm afraid I don't think this is possible either with OL3's labels or with the Leaflet label plugin. I therefore don't think curved labels can be easily developed in qgis2web. They're certainly not currently possible, I'm afraid. If someone knows how to do them in either mapping lib, please let us know.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.