<div dir="ltr"><div><div><div>Dear All,<br></div>             Previously, I was using Mapscript_csharp.dll of version 1.0.4562.22159 and recently I have replaced it with newer version no. 1.0.5686.27020.<br><br></div>In this version, I am facing the problem to check whether the layer is opened or not.<br><br></div>At first, what i am doing is<br><br> lyr = m_Map.getLayer(i);   // fetching the layer one by one<br><br>if (lyr.isLayerOpen() == mapscript.MS_FALSE)    // in previous version we have the function  isLayerOpen() to check whether a layer is opened or not<br>                            lyr.open(); // To open the layer it was not opened<br><div><div><br><br></div><div>Any help in this direction will be appreciated.<br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 30, 2015 at 6:45 PM, Pushpendra Singh <span dir="ltr"><<a href="mailto:pushpendra7974@gmail.com" target="_blank">pushpendra7974@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Dear All,<br></div>            I am upgrading my mapserver from lower version to 7.0. <br><br></div>I am facing a problem in detecting whether a layer is currently opened or not. <br><br></div>I actually want to know "How to check whether a layer is currently opened or not."<br><br></div>Any help in this direction will be appreciated.<span class="HOEnZb"><font color="#888888"><br clear="all"><div><div><div><div><div><br>-- <br><div><div dir="ltr"><div><div dir="ltr"><div>With Regards</div>
<div>--------------------------</div>
<div>Pushpendra Singh </div>
<div>Sr. Software Developer</div>
<div></div>
<div>Mob.:- <a href="tel:%2B91%20-%208130952910" value="+918130952910" target="_blank">+91 - 8130952910</a>,<a href="tel:9759894270" value="+919759894270" target="_blank">9759894270</a><br><br><font color="#336666"><b><span style="FONT-SIZE:24pt;COLOR:green;FONT-FAMILY:Webdings">P</span></b><b><span style="FONT-SIZE:10pt;COLOR:green;FONT-FAMILY:'Palatino Linotype','serif'"> Please do not print this email unless it is absolutely necessary. Spread environmental awareness.</span></b></font><br></div></div></div></div></div>
</div></div></div></div></div></font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>With Regards</div>
<div>--------------------------</div>
<div>Pushpendra Singh </div>
<div>Sr. Software Developer</div>
<div></div>
<div>Mob.:- +91 - 8130952910,9759894270<br><br><font color="#336666"><b><span style="FONT-SIZE:24pt;COLOR:green;FONT-FAMILY:Webdings">P</span></b><b><span style="FONT-SIZE:10pt;COLOR:green;FONT-FAMILY:'Palatino Linotype','serif'"> Please do not print this email unless it is absolutely necessary. Spread environmental awareness.</span></b></font><br></div></div></div></div></div>
</div>