<div dir="ltr"><span style="font-size:12.8000001907349px">Hi List,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">This is the first post from this newbie, so please complain/guide if I do a bad job of explaining myself in this post</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I have developed an application that returns an image encoded in a data url to the user, which I place on my map using OpenLayers.Layer.Image. I'm not sure this detail matters, but the user defines a polygon using OpenLayers.Control.DrawFeature with the handler OpenLayers.Handler.Polygon. and a layer named "polygonLayer" The image is added with:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><p style="margin:0px">resultLayer = new OpenLayers.Layer.Image(</p><p style="margin:0px">    'Spatial result',</p><p style="margin:0px">    resp.result.image.data,</p><p style="margin:0px">    new OpenLayers.Bounds(resp.result.image.bounds),</p><p style="margin:0px">    new OpenLayers.Size(resp.result.image.size.w, resp.result.image.size.h),</p><p style="margin:0px">    {</p><p style="margin:0px">        isBaseLayer: false,</p><p style="margin:0px">        displayInLayerSwitcher: false,</p><p style="margin:0px">        projection: new OpenLayers.Projection('EPSG:900913')</p><p style="margin:0px">    }</p><p style="margin:0px">)</p><p style="margin:0px"><br></p><p style="margin:0px"><br></p><p style="margin:0px">The first time a user submits a polygon, the effect is spot on - the image is rendered and looks lovely. When they send a second request, The result is not so pretty, as the image is obscured by something that is probably a representation of the bounding box (not sure if I can add images, but I have tried)</p><p style="margin:0px"><br></p><p style="margin:0px"><img src="cid:ii_14baa3628f04f988" alt="Inline image 1" width="268" height="229"><br></p><p style="margin:0px"><br></p><p style="font-size:12.8000001907349px;margin:0px">I've been asking Google for help for a while, but have not been able to find the right words.</p><p style="font-size:12.8000001907349px;margin:0px"><br></p><p style="font-size:12.8000001907349px;margin:0px">Can anyone advise on how I can stop this from happening?</p><p style="font-size:12.8000001907349px;margin:0px"><br></p><p style="font-size:12.8000001907349px;margin:0px">Cheers,</p><p style="font-size:12.8000001907349px;margin:0px">Simon Knapp</p></div></div>