Thank you so much for the kind support.  I see that this is definitely going
in the right direction, but I am still not able to get it working.

In my body tag I have the scripts

<script src="./OpenLayers-2.10/OpenLayers.js"></script>
<script src="./proj4js/lib/proj4js-combined.js"></script> //I did also try
proj4js.js, but the docs said use this one?

Then I have these before my map and layer declaration, also in the body tag

Ext.onReady(function() {
           
            Proj4js.defs["EPSG:4008"] = "+proj=longlat +ellps=clrk66
+no_defs";
            Proj4js.defs["SR-ORG:6627"] = "+proj=merc +lon_0=0 +k=1 +x_0=0
+y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs";
            Proj4js.defs["EPSG:4326"] = "+proj=longlat +ellps=WGS84
+datum=WGS84 +no_defs";

...
...


//Map properties
            var options = {
                    controls: [new OpenLayers.Control.Navigation()],
//Needed to use GeoExt controls such as the zoomslider
                    maxExtent: new OpenLayers.Bounds(-20037508.34,
-20037508.34, 20037508.34, 20037508.34),
                    units: 'm',
                    allOverlays: false //Do not display all layers on load
            }

            var map = new OpenLayers.Map(options);

var borders = new OpenLayers.Layer.WMS(
                    "Borders", "http://localhost:8080/geoserver/wms";, {id:
'borders', layers: 'cite:sedac', transparent: true, projection: new
OpenLayers.Projection("EPSG:4008")}, {isBaseLayer: false,
displayInLayerSwitcher: true, visibility: true}
               );


Still nothing shows up :(.  Am I doing something wrong?  I'm not seeing the
error...

Thank you very much for your time,

elshae
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/EPSG-4008-Layer-Not-Displaying-tp5838081p5855542.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to