<div dir="ltr"><div><div><div>Hi,<br></div>With the trunk release, I observe an issue which has been introduced recently in OpenLayers.<br></div>When we use a singleTile WMS layer, the getImageSize function (<a href="https://github.com/openlayers/openlayers/blob/23a557052ce787a94ea13208bf80256e297fdcc6/lib/OpenLayers/Layer/Grid.js#L910" target="_blank">https://github.com/openlayers/openlayers/blob/23a557052ce787a94ea13208bf80256e297fdcc6/lib/OpenLayers/Layer/Grid.js#L910</a> ) provides an infinite WIDTH because <span>this</span><span>.</span><span>gridResolution</span><span> is null<br>


<br></span></div><span>WMS Layer is configured like that:</span><div><span><br></span></div><div><span><div>var wms = new OpenLayers.Layer.WMS("vd",</div><div>               "<a href="http://wms.geo.admin.ch/">http://wms.geo.admin.ch/</a>",</div>

<div>        {</div><div>            srs: 'EPSG:21781',</div><div>            layers:  'ch.bafu.bundesinventare-jagdbanngebiete',</div><div>            format: 'image/png'</div><div>        }, {</div>

<div>            singleTile: true,</div><div>            ratio: 1,</div><div>            opacity: 0.7,</div><div>            isBaseLayer: false</div><div>        });</div><br>Is this a regression or do we have a wrong setup ?</span></div>

<div><span>Thanks in advance for any help,</span></div><div><span>Cédric<br></span><div><div><div><div><div><div><br>-- <br>
<div dir="ltr"><div>Twitter: <a href="http://twitter.com/cedricmoullet" target="_blank">http://twitter.com/cedricmoullet</a><br>Linked In: <a href="http://www.linkedin.com/in/cedricmoullet" target="_blank">http://www.linkedin.com/in/cedricmoullet</a><br>



<br><a href="http://twitter.com/cedricmoullet" target="_blank"></a></div>
</div>
</div></div></div></div></div></div></div></div>