Hi there,

Were using QGIS, QGIS-Mapserver (Version: 2.0.1-2+precise1), Apache2 and
the qgis-web-client (checked out 28.01.2014), Ubuntu-Server 12.04

I´ve successfully adjusted the theme-switcher to display themes ( look
here:
http://biomass.uni-landau.de/qgiswebclient.html?map=/var/www/biomass.uni-landau.de/projects/f-w-vr3857.qgs
).

Clicking on map-thumbnails the map-layer tree of the new project is
loaded while all layers are unchecked and the map itself is waiting to
be loaded ("map loading").

GisProjectListing.js:

var gis_projects = {
        "path": "/site",
        "mapserver": "/cgi-bin/qgis_mapserv.fcgi",
        "thumbnails": "/thumbnails",
        "title": "QGIS Mapserver demo",
        "topics": [{
                "name": "Forest, Waste and vineyard residues - Administrative 
regions",
                "projects": [{
                        "name": "Forest, Waste and vineyard residues - 
Administrative
regions", //name needs to correspond with the project title (Project
Properties --> General --> Project Title)
                        "projectpath": 
"/var/www/biomass.uni-landau.de/projects",
                        "projectfile": "f-w-vr3857",
                        "format": "image/png",
                        "updateInterval": "occasional",
                        "responsible": "D. Elsaesser",
                        "tags": "biomass residues"
                }]
        },{
                "name": "Corine Landcover - Administrative regions",
                "projects": [{
                        "name": "Corine Landcover - Administrative regions", 
//name needs to
correspond with the project title (Project Properties --> General -->
Project Title)
                        "projectpath": 
"/var/www/biomass.uni-landau.de/projects",
                        "projectfile": "clc3857",
                        "format": "image/png",
                        "updateInterval": "occasional",
                        "responsible": "D. Elsaesser",
                        "tags": "Corine, land use, landcover"
                }]      
        }]
};

Thanks for your help,

Gunnar
-- 
Gunnar Oehmichen
Quantitative Landscape Ecology
Institute for Environmental Sciences
University Koblenz-Landau
Fortstrasse 7
76829 Landau
Germany
http://www.uni-koblenz-landau.de/landau/fb7/umweltwissenschaften/landscape-ecology/Staff/gunnaroehmichen
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to