<div>Thank you again Rich</div>  <div>&nbsp;</div>  <div>It's was like you sad: You need to define the CLASS END, even if is empty. You just need to have CLASS defined</div>  <div>&nbsp;</div>  <div>William<BR><BR><B><I>Richard Greenwood &lt;richard.greenwood@GMAIL.COM&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On 1/25/07, william paul <WILLIAMPAUL28@YAHOO.COM>wrote:<BR>&gt;<BR>&gt; Hi:<BR>&gt;<BR>&gt; I am using Dbox, example from<BR>&gt; http://maps.dnr.state.mn.us/tools/dbox/<BR>&gt; I want to have more background layers, and each background layer is a<BR>&gt; raster. I have setup the metadata in the map file:<BR>&gt; METADATA<BR>&gt; # dLegend XML legend control<BR>&gt; dlegend_metagroups "foreground,background"<BR>&gt; dlegend_foreground_name "foreground:"<BR>&gt; dlegend_foreground_layers_and_groups "layer1,layer2"<BR>&gt; dlegend_background_name "background: "<BR>&gt;
 dlegend_background_layers_and_groups "raster1,raster2"<BR>&gt; dlegend_background_element "radio"<BR>&gt; dlegend_layer1_name "Layer1"<BR>&gt; dlegend_layer2_name "Layer2"<BR>&gt; dlegend_raster1_name "Raster1"<BR>&gt; dlegend_raster2_name "Raster2"<BR>&gt; END<BR>&gt;<BR>&gt; When I load the page I can see the legend up to Raster1 and without Raster2<BR>&gt; I tried to replace the layers from the background with vector data and is<BR>&gt; working OK, but with raster data I can see only 1 background layer<BR>&gt;<BR>&gt; Is it possible to use 2 or more background layers with raster data?<BR>&gt;<BR>&gt; Thank you in advance<BR>&gt;<BR>&gt; William<BR><BR>Yes, you can can have many background layers. I ran into the same<BR>problem that I think you are seeing: not all of my legend was showing<BR>up. It was syntax with the legend definitions, unfortunately I can not<BR>remember the details. Try changing the order of the layers in the<BR>legend, and/or removing them one at a
 time. This will help you find<BR>the problem layer. And look at the class names in the layer definition<BR>itself.<BR><BR>HTH,<BR>Rich<BR><BR><BR>-- <BR>Richard Greenwood<BR>richard.greenwood@gmail.com<BR>www.greenwoodmap.com<BR></BLOCKQUOTE><BR><p>&#32;

<hr size=1>No need to miss a message. <a href="http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail
">Get email on-the-go </a><br>with Yahoo! Mail for Mobile. <a href="http://us.rd.yahoo.com/evt=43910/*http://mobile.yahoo.com/mail
">Get started.</a>