[Users] Fwd: choose the wms to print in a combobox or something else
hassane allouch
allouch.hassane at gmail.com
Thu Jun 16 16:31:38 CEST 2011
thank you
actually i never did that.
i have just two layers to add
var layerDashBoard_commune = new OpenLayers.Layer.WMS(
"commune",
"http://localhost:8080/geoserver/sf/wms?",
{layers: "sf:commune",
format: "image/png",'transparent':'true'}
,{'opacity': 1.0, 'isBaseLayer': false, 'visibility': true}
);
and
var layerDashBoard_province = new OpenLayers.Layer.WMS(
"province",
"http://localhost:8080/geoserver/sf/wms?",
{layers: "sf:province",
format: "image/png",'transparent':'true'}
,{'opacity': 1.0, 'isBaseLayer': false, 'visibility': true}
);
thanks for the help
2011/6/16 Volker Nathusius <nathusius at terrestris.de>
> Am 16.06.2011 16:15, schrieb hassane allouch:
>
> Hi,
>
> i have 5 wms i would to print them, but i want to give the user the hand to
> choose the wms he want to print (put the 5 wms in a comobobox or something
> else).
>
> i working with the example :
>
> http://api.geoext.org/1.0/examples/print-form.html
>
> It works, i just want to add the possibility to choose the wms to print.
> How can i do that ?
>
> thank you
>
>
>
> _______________________________________________
> Users mailing listUsers at geoext.orghttp://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
> Basically, you use a layer tree that allows (un)selecting layers.
>
> Example:
> http://api.geoext.org/1.0/examples/tree.html
>
> Do you already have that?
>
> Regards,
>
> --
>
> Volker von Nathusius
>
> terrestris GmbH & Co. KG
> Irmintrudisstraße 17
> 53111 Bonn
>
> Tel: ++49 (0)228 / 96 28 99 -53
> Fax: ++49 (0)228 / 96 28 99 -57
>
> Email: nathusius at terrestris.de
> Web: http://www.terrestris.de
>
> Amtsgericht Bonn, HRA 6835
> Komplementärin: terrestris Verwaltungsgesellschaft mbH
> vertreten durch: Hinrich Paulsen, Till Adams
>
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20110616/16631bb3/attachment-0001.htm
More information about the Users
mailing list