[Qgis-user] Web client background layers
Bernhard Ströbl
bernhard.stroebl at jena.de
Thu May 22 01:48:12 PDT 2014
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
> Qgis-user at lists.osgeo.org
> 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: bernhard.stroebl at jena.de
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
More information about the Qgis-user
mailing list