[qgis-qwc2] My layers are not showing

Francisco Danubio Salas Rosette franksalas1965 at gmail.com
Wed Jun 1 14:41:59 PDT 2022


Hello group, I have a situation that I don't know how to solve, I am trying
to show my layers of a qgis project in QGIS Web Client and they only appear
in the Layers Control Panel but they are not shown, what mistake am I
making?

This is my file :themesConfig.json

{
  "themes": {
    "items": [
      {
        "url":"
http://localhost:8080/cgi-bin/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities&map=C
:\\qgis\\projects\\mtd25shp.qgs",
        "attribution":"Mapa",
        "default": true,
        "backgroundLayers": [
          {
            "name": "mapnik",

            "visibility": true
          }
        ],
        "mapCrs": "EPSG:4326"
      }
    ],
    "backgroundLayers": [
      {
        "name": "mapnik",
        "title": "Open Street Map",
        "type": "osm",
        "source": "osm",
        "thumbnail": "mapnik.jpg",
        "attribution": "OpenStreetMap contributors",
        "attributionUrl": "https://www.openstreetmap.org/copyright"
      }
    ]
  },
  "defaultScales": [8000000, 4000000, 2000000, 1000000, 400000, 200000,
80000, 40000, 20000, 10000, 8000, 6000, 4000, 2000, 1000, 500, 250, 100],
  "defaultPrintGrid": [{"s": 10000, "x": 1000, "y": 1000}, {"s": 1000, "x":
100, "y": 100}, {"s": 100, "x": 10, "y": 10}],
  "defaultWMSVersion":"1.3.0"
}

Attached image of the layer control


Thank you very much,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20220601/fd7aa924/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LayerControl.PNG
Type: image/png
Size: 65636 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-qwc2/attachments/20220601/fd7aa924/attachment-0001.png>


More information about the qgis-qwc2 mailing list