[OpenLayers-Users] TURN On layers Individually...

Paul james pauljame at gmail.com
Wed Jul 1 15:40:01 EDT 2009


Yes, but I´d like to implement that functionality ... But I dont know how
start...


On Wed, Jul 1, 2009 at 4:38 PM, Christopher Schmidt <crschmidt at metacarta.com
> wrote:

> On Wed, Jul 01, 2009 at 04:19:10PM -0300, Paul james wrote:
> > I´m trying to do something like that :
> >
> http://demo.mapfish.org/mapfishsample/1.1/examples/tree/tree_automatic.html
> >
> > There is a layer :
> >
> > c2cwmsLayers = ['parkings', 'summits', 'refuges', 'sites'];
> >     c2cwms = new OpenLayers.Layer.WMS("C2C Objects",
> >         "http://demo.mapfish.org/mapfishsample/1.1/wms?",
> >         {
> >             singleTile: true,
> >             layers: c2cwmsLayers,
> >             format: 'image/png',
> >             transparent: true
> >         }
> >     );
> >
> > But using the treeview I can turn on/off : 'parkings', 'summits',
> 'refuges',
> > 'sites' Individually...
>
> Yes, MapFish provides that functionality. Maybe you want to use MapFish?
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20090701/5552e593/attachment.html


More information about the Users mailing list