Hi Henrik,

this is pretty straightforward,
1) in GlobalOptions.js you enable the BackgroundMaps
var enableBGMaps = true;
2) you need to configure your background map(s) as OpenLayers.Layer, e.g.
var myBgLayer = new OpenLayers.Layer.WMS("name",
        .... // see OpenLayers api doc
    );
    baseLayers.push(myBgLayer);
I do that in Customizations.js in customBeforeMapInit()

I will improve the docs

Bernhard

Am 22.05.2014 10:22, schrieb Uggla Henrik:
How do I (as a developer, not map user) add my own background layers to qgis 
web client?

Cheers
Henrik
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user


__________ Information from ESET Mail Security, version of virus signature 
database 9833 (20140522) __________

The message was checked by ESET Mail Security.
http://www.eset.com



--
Bernhard Ströbl
Anwendungsbetreuer GIS

Kommunale Immobilien Jena
Am Anger 26
07743 Jena

Tel.: 03641 49- 5190
E-Mail: [email protected]
Internet: www.kij.de


Kommunale Immobilien Jena
Eigenbetrieb der Stadt Jena
Werkleiter: Dr. Götz Blankenburg


__________ Information from ESET Mail Security, version of virus signature 
database 9833 (20140522) __________

The message was checked by ESET Mail Security.
http://www.eset.com


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to