I have a Geoserver instance locally, and am using Openlayers on a website. <br>When I use the following code to access the WMS, it displays with a basic Openlayers map, but not on an Openlayers map with Geoext. <br>A WMS layer published in EPSG:900913 dispays correctly. This layer is published in EPSG:4326. But even so, it does not appear anywhere in the world. <br>
<font style="font-family:times new roman,serif" size="4"> <br clear="all"></font><pre style="font-family:times new roman,serif" id="line1"><font size="4"><span>var camps = new OpenLayers.Layer.WMS("ATP940 Campsites",
<span id="line107"></span> "<a href="http://localhost:8080/geoserver/Culture/wms">http://localhost:8080/geoserver/Culture/wms</a>?",
<span id="line108"></span> {"layers":"Imagery_and_Lidar:ATP940_Campsite" ,"format":"image/png", "transparent":"true" }
<span id="line109"></span> ); </span></font></pre><br>Thanks,<br>-- <br>Narelle Irvine<br><br><div style="display:inline"></div><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div><br>