[OpenLayers-Users] maxScale doesn't appear to work

Kjel Anderson kanderson at truevectortech.com
Sun Feb 5 21:12:18 EST 2012


Hey everyone,

I'm having trouble with maxScale. I have it set as follows:

            lata = new OpenLayers.Layer.WMS(
                    "lata_boundaries - Untiled", "
http://localhost:8080/geoserver/wms",
                    {
                        srs: 'EPSG:900913',
                        layers: 'DWT:dwt_lata_proj',
                        styles: 'dwt_lata',
                        format: format,
                        transparent: true,
                        minScale: 50000,
                        maxScale: 8000000
                    },
                    {singleTile: true, ratio: 1}
                );

Can you see anything obviously wrong with this?

Thanks,

Kjel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120205/5f0953b4/attachment.html


More information about the Users mailing list