<font size=2 face="sans-serif">I'm trying to display a layer from the
EROS national elevation dataset hosted by the USGS in openlayers.</font>
<br>
<br><font size=2 face="sans-serif">this code isn't working...</font>
<br>
<br><font size=2 face="sans-serif"><!DOCTYPE html></font>
<br><font size=2 face="sans-serif"><html></font>
<br><font size=2 face="sans-serif"> <head></font>
<br><font size=2 face="sans-serif"> <meta http-equiv="Content-Type"
content="text/html; charset=utf-8"></font>
<br><font size=2 face="sans-serif"> <meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0,
user-scalable=0"></font>
<br><font size=2 face="sans-serif"> <meta name="apple-mobile-web-app-capable"
content="yes"></font>
<br><font size=2 face="sans-serif"> <title>OpenLayers
Basic Single WMS Example</title></font>
<br><font size=2 face="sans-serif"> <link rel="stylesheet"
href="../theme/default/style.css" type="text/css"></font>
<br><font size=2 face="sans-serif"> <link rel="stylesheet"
href="style.css" type="text/css"></font>
<br><font size=2 face="sans-serif"> <script src="OpenLayers.js"></script></font>
<br><font size=2 face="sans-serif"> <script type="text/javascript"></font>
<br><font size=2 face="sans-serif"> var map,
layer;</font>
<br><font size=2 face="sans-serif"> function
init(){</font>
<br><font size=2 face="sans-serif">
map = new OpenLayers.Map( 'map' );</font>
<br><font size=2 face="sans-serif">
layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",</font>
<br><font size=2 face="sans-serif">
"</font><a href=http://imsref.cr.usgs.gov/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?><font size=2 face="sans-serif">http://imsref.cr.usgs.gov:80/wmsconnector/com.esri.wms.Esrimap/USGS_EDC_Elev_NED?</font></a><font size=2 face="sans-serif">",</font>
<br><font size=2 face="sans-serif">
{layers: 'NED.HI_NED'} );</font>
<br><font size=2 face="sans-serif">
map.addLayer(layer);</font>
<br><font size=2 face="sans-serif">
map.zoomToMaxExtent();</font>
<br><font size=2 face="sans-serif"> }</font>
<br><font size=2 face="sans-serif"> </script></font>
<br><font size=2 face="sans-serif"> </head></font>
<br><font size=2 face="sans-serif"> <body onload="init()"></font>
<br><font size=2 face="sans-serif"> <h1 id="title">Basic
Single WMS Example</h1></font>
<br>
<br><font size=2 face="sans-serif"> <div id="tags"></font>
<br><font size=2 face="sans-serif"> basic, simple,
minimal, cleanup</font>
<br><font size=2 face="sans-serif"> </div></font>
<br>
<br><font size=2 face="sans-serif"> <div id="shortdesc">Show
a Simple Map</div></font>
<br>
<br><font size=2 face="sans-serif"> <div id="map"
class="smallmap"></div></font>
<br>
<br><font size=2 face="sans-serif"> <div id="docs"></font>
<br><font size=2 face="sans-serif"> <p>This
example shows a very simple layout with minimal controls.</font>
<br><font size=2 face="sans-serif"> This example
uses a single WMS base layer.</p></font>
<br><font size=2 face="sans-serif"> </div></font>
<br><font size=2 face="sans-serif"> </body></font>
<br><font size=2 face="sans-serif"></html></font>
<br>
<br><font size=2 face="sans-serif">Can someone please tell me what I'm
doing wrong? I don't appear to be getting a response in firebug.</font>
<br>
<br><font size=2 face="sans-serif">Douglas Kunzman<br>
12201 Sunrise Valley Drive<br>
Reston, VA 20192<br>
Phone: 703 648-4234<br>
dkunzman@usgs.gov<br>
</font>