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

Tamas Szekeres szekerest at gmail.com
Sun Apr 5 09:07:43 PDT 2009


You might want to set MINSCALEDENOM and MAXSCALEDENOM of the LAYER refer to
the mapfile documentation for the deatails:
http://www.mapserver.org/mapfile/layer.html

Best regards,

Tamas



2009/4/5 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/20090405/05164f9d/attachment.htm>


More information about the MapServer-users mailing list