[mapserver-users] Displaying layers based on zoom level

Adrian Popa adrian_gh.popa at romtelecom.ro
Fri Jun 6 03:22:09 EDT 2008


Hello everybody,

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).

My question is this:
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.

So please, point me in the right direction.

Thank you!

PS. I'm using mapserver 4.1 (and msMap as a frontend).

-- 
Adrian Popa

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




More information about the mapserver-users mailing list