<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you very much for your help. I made the changes (tweaked the
values for MAXSCALE) and I'm happy with the results :)<br>
<br>
Cheers!<br>
<br>
David Martinez Morata wrote:
<blockquote
 cite="mid:9771eb540806060052h56b4670ch59e914ea763fe6e7@mail.gmail.com"
 type="cite">Hi!<br>
The functions in LAYER object are <br>
MAXSCALE 'Value of Scale'<br>
MINSCALE 'Value of minimun Scale'<br>
Consult this <a moz-do-not-send="true"
 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 &lt;<a
 moz-do-not-send="true" href="mailto:adrian_gh.popa@romtelecom.ro">adrian_gh.popa@romtelecom.ro</a>&gt;:<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 &amp; Metro<br>
Compartiment IP Core<br>
    <br>
    <br>
_______________________________________________<br>
mapserver-users mailing list<br>
    <a moz-do-not-send="true"
 href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
    <a moz-do-not-send="true"
 href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
  </blockquote>
  </div>
  <br>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">-- 
Adrian Popa

Network Engineer
Romtelecom S.A.
Divizia Centrul National de Operare Retea
Departament Transport IP &amp; Metro
Compartiment IP Core

</pre>
</body>
</html>