Dear Venkat, You were right your last suggestion worked very well. Thank you so much I really appreciate it. Have a nice day. Ozz Date: Mon, 9 Apr 2012 11:49:10 +0530 Subject: Re: From: [email protected] To: [email protected] Dear Ozz, Me too developing same sort of application, by using OpenLayers creating several layers from single mapfile. which looks something like this: :::::::::::::::::::: mainURL = "/cgi-bin/mapserv54?map=ODIS_MAPFILE"; map = new OpenLayers.Map({ div: "map", maxExtent: new OpenLayers.Bounds(20,-70,120,30), restrictedExtent: new OpenLayers.Bounds(20,-70,120,30) }); ocean = new OpenLayers.Layer.WMS("Indian Ocean", mainURL, {'layers': 'ocean', transparent: true, format: 'image/gif'}, {isBaseLayer: true} ); moored = new OpenLayers.Layer.WMS("Moored Buoys", mainURL, {'layers': 'moored', transparent: true, format: 'image/gif'}, {isBaseLayer: false} ); drifting = new OpenLayers.Layer.WMS("Drifting Buoys", mainURL, {'layers': 'drifting', transparent: true, format: 'image/gif'}, {isBaseLayer: false} ); map.addLayers([ocean, moored, drifting]); :::::::::::::::::::::::::::::::::::::::::: And its work properly with my existing setup, you may customized these lines of code for whatever 3 layers you have mentioned in your previous mail. with best regards Venkat. On Mon, Apr 9, 2012 at 10:14 AM, Özgür Arslan <[email protected]> wrote: Dear Venkat Thank you for your suggestion I really appreciate it but it didn't work. Do you have another idea to share with me please? Thanks again Ozz
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
