Hi Rob, <br>
<br>
Try this?<br>
<br>
<br>
navmap = new OpenLayers.Layer.Image( 'Nav', '<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://waage.sr.unh.edu/" target="_blank">http://waage.sr.unh.edu/</a><br>
data/13283_1.png',<br>
new OpenLayers.Bounds(-70.7700123,42.9445234,-70.5597821,43.1740090),<br>
new OpenLayers.Size(8563, 12740),<br>
{'maxResolution': 'auto', 'isBaseLayer': false }<br>
);<br>
<br>
to get it to be an overlay. as for the image quality... not sure how to help you with that. <br>
<br>Erik<br>
<br>
<br><div><span class="gmail_quote">On 5/30/07, <b class="gmail_sendername">Bobby Braswell</b> <<a href="mailto:rob.braswell@unh.edu">rob.braswell@unh.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi-<br><br>I have a png image that shows up nicely as a base layer, but I'd<br>actually like to include it as an overlay. I think I just need to say<br>"isBaseLayer: false" in the declaration, but can't figure out exactly
<br>how to do that.<br><br>This is what I have now:<br><br>navmap = new OpenLayers.Layer.Image( 'Nav', '<a href="http://waage.sr.unh.edu/">http://waage.sr.unh.edu/</a><br>data/13283_1.png',<br> new
OpenLayers.Bounds(-70.7700123,42.9445234,-70.5597821,43.1740090),<br> new
OpenLayers.Size(8563, 12740),<br> {maxResolution: 'auto'}<br>);<br><br>If I try to include this image as a mapserver WMS layer in the usual<br>way, the resulting image quality (as it appears in the browser) is
<br>very poor for some reason. I mention this because perhaps there is<br>some solution to the problem from that angle. I can't figure out why<br>mapserver is generating an image that looks so much different from<br>the original.
<br><br>Best,<br>Rob Braswell<br>University of New Hampshire<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users">
http://openlayers.org/mailman/listinfo/users</a><br></blockquote></div><br>