You could just use a tile layer that always returns a blank image. Something like this should work : <br><br>var vzl = new OpenLayers.Layer.TMS(<br>    &#39;test&#39;, &#39;<a href="http://google.com">http://google.com</a>&#39;,<br>
    {<br>        getURL            : function(bounds){ return &quot;<a href="http://yourserver.com/blank.gif">http://yourserver.com/blank.gif</a>&quot;; },<br>        buffer            : 0,<br>        isBaseLayer        : true,<br>
        numZoomLevels    : 22,<br>        transitionEffect: &#39;resize&#39;<br>    }<br>);<br>map.addLayers([vzl]);<br><br>Not sure if this falls into your hack category, but it&#39;s simply re-using an existing layer type, so you don&#39;t have to create a new one.<br>
<br>Lennox<br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 4:58 PM, Mike Purvis <span dir="ltr">&lt;<a href="mailto:mike@uwmike.com">mike@uwmike.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,
<div><br></div><div>I currently have a map that uses an OpenLayers.Layer.Image as the baselayer, and then draws a bunch of vectors on top of it. However, the image in question is simple enough that I&#39;d really rather just do away with it and use vectors for my background as well.</div>


<div><br></div><div>What&#39;s the best way to do this? I can make a dummy XYZ layer that just uses blank gifs for all the tiles, but that seems like an enormous hack. What&#39;s a simple way of specifying some bounds and a number of zoom levels, and just having it be a blank baselayer?</div>


<div><br></div><div>Thanks,</div><div><br></div><font color="#888888"><div>Mike</div>
</font><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" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br>