[OpenLayers-Users] geoserver group layers and styles

Kjel Anderson kanderson at truevectortech.com
Tue Feb 14 13:09:30 EST 2012


Does that eliminate having as many layers rendered to individual images?
I'm trying to make it a bit faster. I've got eight layers at the moment.
I'd like to combine a few of them.

On Tue, Feb 14, 2012 at 1:10 AM, Andreas Hocevar <ahocevar at opengeo.org>wrote:

> I'm not aware of a way to do this. This question may better be suited
> for the goeserver-users list.
>
> You can, however, group layers in an OpenLayers.Layer.WMS as well, and
> assign styles:
>
> new OpenLayers.Layer.WMS("combo", "/geoserver/wms", {
>    layers: "layer1,layer2,layer3",
>    styles: "style1,style2,style3"
> });
>
> Andreas.
>
> On Mon, Feb 13, 2012 at 5:32 PM, Kjel Anderson
> <kanderson at truevectortech.com> wrote:
> > Does anyone have an example of how to apply styles to the individual
> members
> > of a group layer coming from geoserver?
> > _______________________________________________
> > Users mailing list
> > Users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
> >
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120214/db84129e/attachment.html


More information about the Users mailing list