<div>I have the following code:</div>
<div> </div>
<div>
<p><html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.w3.org/1999/xhtml</a>"><br> <head><br> <style type="text/css"><br> #map {<br> width: 600px;<br>
height: 600px;<br> border: 1px solid black;<br> }<br> </style><br> <script src="../lib/OpenLayers.js"></script><br> <script type="text/javascript">
<br><!--<br>function init()<br>{<br> var map = new OpenLayers.Map( 'map');</p>
<p> var ol_wms = new OpenLayers.Layer.WMS.Untiled( "OpenLayers WMS",<br> "<a href="http://labs.metacarta.com/wms/vmap0">http://labs.metacarta.com/wms/vmap0</a>?",<br> {<br> layers : 'basic'
<br> }<br> );<br> ol_wms.addOptions(<br> {<br> isBaseLayer : true,<br> ratio: 1<br> }<br> );<br> map.addLayers([ol_wms]);<br> <br> map.addControl(new OpenLayers.Control.MousePosition());</p>
<p> var boxes = new OpenLayers.Layer.Boxes("Images");<br> var bounds = new OpenLayers.Bounds(-96.0051889, 28.9917903, -95.9925747, 28.9812486);<br> var box = new OpenLayers.Marker.Box(bounds);<br> box.setBorder
("yellow",4);<br> boxes.addMarker(box);<br> map.addLayer(boxes);</p>
<p> map.zoomToExtent(bounds);</p>
<p>}<br>// --><br> </script><br> </head><br> <body onload="init()"><br> <h1>OpenLayers Example</h1><br> <div id="map"></div><br> </body><br>
</html><br></p>
<p>I get a map with the proper coordinates but the box is simply one line. I think there is a bug in the boxes that is not using the correct lat/lon combinations. Has anybody else ran into this?</p>
<p>Thanks,</p>
<p>Linda Rawson</p></div>