Re:[mapserver-users] visibility of the layer based on zoom extends
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.m...@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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] visibility of the layer based on zoom extends
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.m...@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 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users