<div>Hi,<br><br>I suggest you use MSCompanion to edit your mapfile, it's easy to understand how to control layers and their properties.<br><br>Enri.<br><br></div><div></div><br><pre>在2009-04-05,meenu &lt;meenu.monu@gmail.com&gt; 写道:
&gt;
&gt;hi can anybody help to set the visibility of a layer based on zoom extends..the mapscript for the particular layer i added here as follows...
&gt;
&gt;LAYER
&gt;   NAME "n_towns"
&gt;   TYPE POINT
&gt;   CONNECTIONTYPE OGR
&gt;   CONNECTION "n_towns.TAB"
&gt;   STATUS ON
&gt;   LABELITEM "NAME"
&gt;   CLASS
&gt;  SIZE 10
&gt;    STYLE
&gt;      COLOR 100 100 100
&gt;      OUTLINECOLOR 0 0 0
&gt;      SYMBOL "circle"
&gt;        END
&gt;        LABEL
&gt;        COLOR 100 100 100
&gt;        FONT arial
&gt;        TYPE TRUETYPE
&gt;        SIZE 7
&gt;        POSITION LC
&gt;        WRAP " "
&gt;        END
&gt;        END
&gt;END
&gt;
&gt;-- 
&gt;View this message in context: http://n2.nabble.com/visibility-of-the-layer-based-on-zoom-extends-tp2588503p2588503.html
&gt;Sent from the Mapserver - User mailing list archive at Nabble.com.
&gt;
&gt;_______________________________________________
&gt;mapserver-users mailing list
&gt;mapserver-users@lists.osgeo.org
&gt;http://lists.osgeo.org/mailman/listinfo/mapserver-users
</pre><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://email.163.com">网易邮箱,中国第一大电子邮件服务商</a>
</span>