Hi!<br>The functions in LAYER object are <br>MAXSCALE 'Value of Scale'<br>MINSCALE 'Value of minimun Scale'<br>Consult this <a href="http://mapserver.gis.umn.edu/docs/reference/mapfile/layer">http://mapserver.gis.umn.edu/docs/reference/mapfile/layer</a><br>
And at the end of the page you find some considerations for MINSCALE AND MAXSCALE interpretation in MapServer<br><br><br><div class="gmail_quote">2008/6/6 Adrian Popa <<a href="mailto:adrian_gh.popa@romtelecom.ro">adrian_gh.popa@romtelecom.ro</a>>:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello everybody,<br>
<br>
I'm new to this mailing list, so forgive me if this question has been asked before (I haven't been able to search the archives).<br>
<br>
My question is this:<br>
I have a map with several layers (including cities, roads, villages) and I would like to automatically turn some layers on when the user has zoomed in enough. I know I have read somewhere that you can set a property to the layer to tell it when it should be turned automatically on, but I can't find the property name or an example to get me going.<br>
<br>
So please, point me in the right direction.<br>
<br>
Thank you!<br>
<br>
PS. I'm using mapserver 4.1 (and msMap as a frontend).<br>
<br>
-- <br>
Adrian Popa<br>
<br>
Network Engineer<br>
Romtelecom S.A.<br>
Divizia Centrul National de Operare Retea<br>
Departament Transport IP & Metro<br>
Compartiment IP Core<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>