<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 <meenu.monu@gmail.com> 写道:
>
>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...
>
>LAYER
>   NAME "n_towns"
>   TYPE POINT
>   CONNECTIONTYPE OGR
>   CONNECTION "n_towns.TAB"
>   STATUS ON
>   LABELITEM "NAME"
>   CLASS
>  SIZE 10
>    STYLE
>      COLOR 100 100 100
>      OUTLINECOLOR 0 0 0
>      SYMBOL "circle"
>    END
>    LABEL
>    COLOR 100 100 100
>    FONT arial
>    TYPE TRUETYPE
>    SIZE 7
>    POSITION LC
>    WRAP " "
>    END
>    END
>END
>
>-- 
>View this message in context: http://n2.nabble.com/visibility-of-the-layer-based-on-zoom-extends-tp2588503p2588503.html
>Sent from the Mapserver - User mailing list archive at Nabble.com.
>
>_______________________________________________
>mapserver-users mailing list
>mapserver-users@lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
</pre><br><!-- footer --><br><span title="neteasefooter"/><hr/>
<a href="http://email.163.com">网易邮箱,中国第一大电子邮件服务商</a>
</span>