Is it that you want all the three point,polygon and point as a layer ?? If yes then a commas separated list will do as:
var layer = new OpenLayers.Layer.WMS.Untiled( "Natural Resources", "http://gis.rtbi-iitm.in/cgi-bin/mapserv?", {map:'/var/www/html/customisation/mapfile/customNR.map',transparent:true},{layers:'NR_point,NR_polygon,NR_line'},{'displayInLayerSwitcher':false}, {isBaseLayer:false}); This is when you use Mapserver.. Also in the mapfile that you create ....make three layers with names as above and type as point, line and polygon.. I hope there must be something like this for Geoserver also . Reena. geop10 wrote: > > Hi guys... > Im just budding in Geo server with openlayers i completed > geoserver cofiguration and all. After that im geting 3 differnt sets(like > polygon, line,point) as three diffent layers. I wish to get all these > three as a map .. how its possibile??? please help me......... > -- View this message in context: http://www.nabble.com/How-can-we-add-diffrent-feature-sets-into-a-single-layer--tp20594800p20616609.html Sent from the OpenLayers Users mailing list archive at Nabble.com. _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users