I have a Geoserver instance locally, and am using Openlayers on a website.
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.
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.
var camps = new OpenLayers.Layer.WMS("ATP940 Campsites",
"http://localhost:8080/geoserver/Culture/wms?",
{"layers":"Imagery_and_Lidar:ATP940_Campsite" ,"format":"image/png",
"transparent":"true" } );
Thanks,
--
Narelle Irvine
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users