<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi Steven</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the order of the layers you see in the legend tree is
defined by the order of the layers name in the layers.ini
file.</FONT></DIV>
<DIV><FONT size=2>there is a tutorial for this -> <A
href="http://www.cartoweb.org/cwiki/HowToCreateALayerTree">http://www.cartoweb.org/cwiki/HowToCreateALayerTree</A></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>the order of the layers being displayed in the main
map (image displayed) depend of the order in the mapfile. The first layers
defined in the mapfile is the bottom layer (usualy the background) then the
other layers are piled over it and the final map image generated. See the
mapfile documentation for more info.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Children switching is a special feature allowing to define for
a given layer several groups of children layers, for exemple, for a building you
may have, for each floor, a layer for rooms, one for doors and another for
stairs. I this case the "switch" will represent the floor, so when changing
floor, the rooms, doors and stairs layers will change as well. This is not used
often.</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>Finally there is also a plugin, layer reoder, that allow you
to change the order dynamically from the web interface. Its not used ofen
either.</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=gisaalter@gmail.com href="mailto:gisaalter@gmail.com">Steven De
Vriendt</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, February 12, 2007 9:19
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Can someone
explain the use of 'children switching'</DIV>
<DIV><BR></DIV>
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>Basically I want to reorder my layers in the legend...</DIV>
<DIV>I have set up a cartoweb config with only 2 layers,</DIV>
<DIV>for now my ortho appears above a vector layers (at least that's</DIV>
<DIV>what I think). How can I reorder this ? I've looked at the</DIV>
<DIV>documentation and it mentioned the use of 'switching children '.</DIV>
<DIV>Is this what I need to use to define the order of appearence in
legend/map ?</DIV>
<DIV>How is this controlled in cartoweb ?</DIV>
<DIV> </DIV>
<DIV>Thanks for helping out !</DIV>
<DIV> </DIV>
<DIV>Steven</DIV>
<DIV> </DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>