Thanks, Chris. I have modified my _javascript_ code as follows: function init() { format = 'image/png'; map = new OpenLayers.Map("map"); wms = new OpenLayers.Layer.WMS( "esv:countries - Tiled", "http://localhost:8080/geoserver/wms", { styles: '', layers: 'esv:countries', width: '800', height: '362', srs: 'EPSG:4326', format: format, tiled: 'true', tilesOrigin : "-198,-98.68117980957031" }, {buffer: 0} ); map.addLayer(wms); } The page now loads without errors, and the pan and zoom controls are displayed; but the esv:countries layer does not appear. Any ideas? Thanks! Greg Christopher Schmidt wrote: On Thu, Aug 14, 2008 at 01:08:31PM -0700, Greg Ederer wrote:function init() { map = OpenLayers.Map("map"); wms = new OpenLayers.Layer.WMS(^^^ Compare these two lines.(You're missing a 'new' before the Map() call.) Regards, -- | E R G O N O S I S | Greg Ederer | Lead Developer | [EMAIL PROTECTED] | 360.774.6848 | |
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users