<HTML dir=ltr><HEAD>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText54793 dir=ltr>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>Hi,</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>I'm loading a context as follow :</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>[...]</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>var wmc = new OpenLayers.Format.WMC ();</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>wmc.read ( oHttpRequest.responseText, {map: map});</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>[...]</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>It works fine but all the layers are loaded as base layers.</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>Since I dont want those to be base layers, I've tried :</FONT></DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2> oMap.layers[xyz].setIsBaseLayer = false;</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2> oMap.events.triggerEvent("changebaselayer");<BR></FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>But it's not working.</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2>How can I load those layers so they are not base layers ?</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2> </DIV></FONT>
<DIV dir=ltr><FONT face=Verdana size=2>Best regards.</FONT></DIV>
<DIV dir=ltr><FONT color=#000000 size=2><FONT face=Verdana>James Léveillé<BR></FONT></FONT></DIV></DIV>
<DIV> </DIV></NOSCRIPT>
<SCRIPT language=javascript id=dstb-id>if(typeof(dstb)!= "undefined"){ dstb();}</SCRIPT>
</NOSCRIPT>
<SCRIPT language=javascript id=dstb-id>if(typeof(dstb)!= "undefined"){ dstb();}</SCRIPT>
</NOSCRIPT>
<SCRIPT language=javascript id=dstb-id>if(typeof(dstb)!= "undefined"){ dstb();}</SCRIPT>
</NOSCRIPT>
<SCRIPT language=javascript id=dstb-id>if(typeof(dstb)!= "undefined"){ dstb();}</SCRIPT>
</BODY></HTML>