<html>
<head>
</head>
<body class='hmmessage'><div dir='ltr'>


<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">Dear Venkat,<br><br>You were right your last suggestion worked very well. Thank you so much I really appreciate it. Have a nice day.<br><br>Ozz<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Mon, 9 Apr 2012 11:49:10 +0530<br>Subject: Re:<br>From: venkat.shesu@gmail.com<br>To: ozgurarslan81@hotmail.com<br><br>Dear Ozz,<br><br>Me too developing same sort of application, by using OpenLayers  creating several layers from single mapfile.  which looks something like this:<br><br>::::::::::::::::::::<br>         mainURL = "/cgi-bin/mapserv54?map=ODIS_MAPFILE";<br>
        map = new OpenLayers.Map({<br>            div: "map",<br>            maxExtent: new OpenLayers.Bounds(20,-70,120,30),<br>        restrictedExtent: new OpenLayers.Bounds(20,-70,120,30)<br>        });<br>        <br>
<br>        ocean = new OpenLayers.Layer.WMS("Indian Ocean",<br>            mainURL, <br>            {'layers': 'ocean', transparent: true, format: 'image/gif'},<br>            {isBaseLayer: true}<br>
        );<br><br>        moored = new OpenLayers.Layer.WMS("Moored Buoys",<br>            mainURL, <br>            {'layers': 'moored', transparent: true, format: 'image/gif'},<br>            {isBaseLayer: false}<br>
        );<br><br>      drifting = new OpenLayers.Layer.WMS("Drifting Buoys",<br>            mainURL, <br>            {'layers': 'drifting', transparent: true, format: 'image/gif'},<br>            {isBaseLayer: false}<br>
        );<br><br>      map.addLayers([ocean, moored, drifting]);<br>::::::::::::::::::::::::::::::::::::::::::<br><br>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.<br>
<br>with best regards<br>Venkat.<br><br><br><br><div class="ecxgmail_quote">On Mon, Apr 9, 2012 at 10:14 AM, Özgür Arslan <span dir="ltr"><<a href="mailto:ozgurarslan81@hotmail.com">ozgurarslan81@hotmail.com</a>></span> wrote:<br>
<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr">
Dear Venkat<br><br>Thank you for your suggestion I really appreciate it but it didn't work. Do you have another idea to share with me please? <br><br>Thanks again<br><br>Ozz<br>    <br>
                                          </div></div>
</blockquote></div><br></div></div>
                                          </div></body>
</html>