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

Christopher Schmidt crschmidt at metacarta.com
Wed Jul 1 15:38:11 EDT 2009


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



More information about the Users mailing list