[mapserver-users] visibility of the layer based on zoom extends

enri enri at 163.com
Mon Apr 6 04:34:11 EDT 2009


Hi,

I suggest you use MSCompanion to edit your mapfile, it's easy to understand how to control layers and their properties.

Enri.




ÔÚ2009-04-05£¬meenu <meenu.monu at 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 at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090406/593705af/attachment-0001.html


More information about the mapserver-users mailing list