<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-size: 12pt; "><span style="font-size: 12pt; ">> </span><span style="font-family: times, serif; font-size: 12pt; ">where do you actually initialise the new layer? </span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; "><br></span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; ">in OpenLayers standard initialization. I created a simple WMS layer:</span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; "><br></span></div><div><span><div><font face="times, serif"> pcn_orto_06_sm_tlch = new OpenLayers.Layer.WMS("Tilecache Difsuolo", "http://localhost/cgi-bin/tilecache.cgi", {'layers': "pcn_minambiente_ortofoto_2006_900913"}, {'projection': proj});</font></div><div
style="font-family: times, serif; font-size: 12pt; "><br></div></span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; "><br></span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; ">> Is it already </span><span style="font-family: times, serif; font-size: 12pt; ">initialised in ol_layer? </span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; "><br></span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; ">Yes, It is.</span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; "><br></span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; ">> It looks a bit strange that you use a WMS bit </span><span style="font-family: times, serif; font-size: 12pt; ">have a Layer names
osm.</span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; "><br></span></div><div style="font-size: 12pt; "><span style="font-family: times, serif; font-size: 12pt; ">the osm was a stupid example, it's simply useless, I know.</span></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div id="yiv907189279"><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: times, serif; "><div style="font-size: 12pt; font-family: times, serif; "><br></div><div style="font-size:12pt;
font-family:times, serif;" class="yui_3_2_0_25_1337072488914123"><br></div><div style="font-size:12pt;
font-family:times, serif;" class="yui_3_2_0_25_1337072488914123">But when I add the existing layer in mq the opacity is 0 and visibility is False.</div><div style="font-size:12pt;
font-family:times, serif;" class="yui_3_2_0_25_1337072488914123">When zomm changes the ol_layer doesn't update bbox, I have to change ol_layer's visibility to false, change zoom map, and then set visibility to true.</div><div style="font-size:12pt;
font-family:times, serif;" class="yui_3_2_0_25_1337072488914123"><br></div><div style="font-size:12pt;
font-family:times, serif;" class="yui_3_2_0_25_1337072488914123">I'm worryng about it,</div><div style="font-size:12pt;
font-family:times, serif;" class="yui_3_2_0_25_1337072488914123">any suggestions?</div></div></div></div> </div> </div> </div></body></html>