On Tuesday, December 21, 2010, Planet)x <[email protected]> wrote: > > I'm not sure what you mean.. since I have configured my layers to include > multiple layers like- > > //Trails Group > var layer_Trails = new OpenLayers.Layer.WMS("Trails", > "http://localhost/WebServices/Request.aspx", > { > layers: ['Onstreet_Bike_Route', > 'Mountain_-_Stunt_Biking', 'Equestrian', 'Gravel_or_Shale', 'Asphalt'], > VERSION: "1.1.1", > transparent: true > }, > { isBaseLayer: false, > singleTile: true, > visibility: false, > buffer: 1, > ratio: 1 > } > ); > > So are you saying I need to split my layers for the WMSGFI to work properly > for individual layers?
I'm saying you could possibly create a Layer.WMS for use with the GFI control only. This Layer.WMS will include only the layers that you want queried. And you won't add this layer to the map. But maybe this isn't a good idea :-) -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
