1

enter image description hereI am using Qgis2Web to create a webmap application. I have choose a basemap but it dosen't appears in the layerlist(collapsed layerlist).How could I edit the exported code (probably the qgis2web.js file ) in order to do this.

What i actually want to do is to add 2 or more basemaps in the final project and let the user choose from the layerlist.

  • Are you exporting your webmap in Leaflet format or OpenLayers? What you describe should work, so we need to find out where the problem lies. – Tom Chadwin Sep 6 '17 at 8:26
  • I use OpenLayers. – Ελονα Μπεντινι Sep 6 '17 at 13:33
0

You can select multiple basemaps in the qgis2web interface. Click the first, then CTRL-click (PC)/command-click (Mac) the additional ones you need. That then puts all the basemaps into the layers list, allowing them to choose which to display.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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