<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><br></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; "><meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv1623906090"><div><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; ">Thank you Volker,</div><div style="font-size: 12pt; font-family: times, serif; "><br></div><div><div>I was hang in on my foolish brain loop, as world teaches to us the answer is always much simple respect what we thought...<br></div><div><br></div><div>I simply add in jquery.mapquery.core.js, at line 892:</div><div><div>&nbsp; &nbsp; &nbsp;
 &nbsp;</div><div><span class="yiv1623906090Apple-tab-span" style="white-space:pre;">        </span>&nbsp;existing_ol: function(options) {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //alert(67);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; o = $.extend(true, {}, $.fn.mapQuery.defaults.layer.all,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 $.fn.mapQuery.defaults.layer.raster,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; options);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; params = {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //layers: o.layers,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; layers: options.ol_layer,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; transparent: o.transparent,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format: o.format</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(typeof o.wms_parameters != "undefined"){</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; params = $.extend(params, o.wms_parameters);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //alert('ytu');</div><div>&nbsp; &nbsp; &nbsp; &nbsp;
 &nbsp; &nbsp; return {</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //layer: options.ol_layer,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; layer: new OpenLayers.Layer.WMS(o.label, o.url, params, o),</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; options: o,</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; };</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }, &nbsp;&nbsp;</div><div><br></div><div>and then I added to the created ol_layers two parameters, 'visibility': true and 'opacity': 1, as the example above:</div><div><br></div><div><div>&nbsp; pcn_orto_06_sm_tlch = new OpenLayers.Layer.WMS("Tilecache Difsuolo", "http://localhost/cgi-bin/tilecache.cgi", {'layers': "pcn_minambiente_ortofoto_2006_900913", 'visibility': true, 'opacity': 1,}, {'projection': proj});</div><div><br></div><div>That's all,</div><div>it works all the way.</div><div>Thank you all, mapquery is a very smart
 idea</div><div><br></div><div><br></div></div></div></div>  </div></div></div><meta http-equiv="x-dns-prefetch-control" content="on"><br><br> </div> </div>  </div></body></html>