<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>
</div><div><span class="yiv1623906090Apple-tab-span" style="white-space:pre;">        </span> existing_ol: function(options) {</div><div> //alert(67);</div><div> o = $.extend(true, {}, $.fn.mapQuery.defaults.layer.all,</div><div>
$.fn.mapQuery.defaults.layer.raster,</div><div> options);</div><div> params = {</div><div> //layers: o.layers,</div><div> layers: options.ol_layer,</div><div> transparent: o.transparent,</div><div> format: o.format</div><div> };</div><div> if(typeof o.wms_parameters != "undefined"){</div><div> params = $.extend(params, o.wms_parameters);</div><div> }</div><div> //alert('ytu');</div><div>
return {</div><div> //layer: options.ol_layer,</div><div> layer: new OpenLayers.Layer.WMS(o.label, o.url, params, o),</div><div> options: o,</div><div> };</div><div> }, </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> 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>