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

WMS Layer is configured like that:

var wms = new OpenLayers.Layer.WMS("vd",
               "http://wms.geo.admin.ch/";,
        {
            srs: 'EPSG:21781',
            layers:  'ch.bafu.bundesinventare-jagdbanngebiete',
            format: 'image/png'
        }, {
            singleTile: true,
            ratio: 1,
            opacity: 0.7,
            isBaseLayer: false
        });

Is this a regression or do we have a wrong setup ?
Thanks in advance for any help,
Cédric

-- 
Twitter: http://twitter.com/cedricmoullet
Linked In: http://www.linkedin.com/in/cedricmoullet

<http://twitter.com/cedricmoullet>
_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to