[Users] WMS Layer does not display when using Geoext
Narelle Irvine
narelle.irvine at gmail.com
Sun Jun 3 22:10:44 CEST 2012
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.geoext.org/pipermail/users/attachments/20120604/578a148c/attachment.htm
More information about the Users
mailing list