When you intialize your map, pass it a &quot;restrictedExtent&quot; so that it will only show your area of interest. See this example :<br><br><a href="http://openlayers.org/dev/examples/restricted-extent.html">http://openlayers.org/dev/examples/restricted-extent.html</a><br>
<br>Also, it should be possible to use one of your vector layers as a basemap, rather than creating a layer that does nothing.<br><br>Lennox<br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 7:36 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;">Well, I&#39;m only displaying blank tiles on that layer, but there are a number of items in the vector layer above—I would like to restrict the viewport to the region containing these items.<div>
<br></div><div>M.<br><div><br>

</div><div><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 6:04 PM, Lennox Antoine <span dir="ltr">&lt;<a href="mailto:lxnyce@gmail.com" target="_blank">lxnyce@gmail.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;">

What effect are you referring to? Why do you care to restrict the bounds of the layer if you&#39;re just displaying blank tiles?<br><font color="#888888"><br>Lennox</font><div><div></div><div><br><br><div class="gmail_quote">


On Mon, Jul 19, 2010 at 5:19 PM, Mike Purvis <span dir="ltr">&lt;<a href="mailto:mike@uwmike.com" target="_blank">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;"><div>In both those cases I get global coordinates, though, don&#39;t I?</div><div><br></div>

<div>My Image layer is like so:</div><div><br></div><div><div>    baseLayer = new OpenLayers.Layer.Image( &quot;Image&quot;, </div>

<div><span style="white-space: pre-wrap;">                                        </span>    &quot;/static/img/gridmap.png&quot;, </div><div><span style="white-space: pre-wrap;">                                        </span>    new OpenLayers.Bounds(0, 0, 3, 3),</div>

<div><span style="white-space: pre-wrap;">                                        </span>    new OpenLayers.Size(600, 600),</div><div><span style="white-space: pre-wrap;">                                        </span>    {});</div></div><div><br></div><div>
It&#39;s a 600x600 image, and the coordinate system of the map scales that from 0..3. Is there a straightforward way to get this effect with either of the two above solutions?</div>
<div><br></div><div>Thanks.</div><div><div></div><div><div><br></div><br><br><div class="gmail_quote">On Mon, Jul 19, 2010 at 5:10 PM, BMcBride <span dir="ltr">&lt;<a href="mailto:bmcbride@chacompanies.com" target="_blank">bmcbride@chacompanies.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;"><br>
var nobase = new OpenLayers.Layer(&quot;No Basemap&quot;,{isBaseLayer: true,<br>
&#39;displayInLayerSwitcher&#39;: true});<br>
<br>
-----<br>
Bryan R. McBride, GISP<br>
<a href="http://www.bryanmcbride.com" target="_blank">http://www.bryanmcbride.com</a> <a href="http://bryanmcbride.com" target="_blank">bryanmcbride.com</a><br>
<a href="http://geoserving.net/" target="_blank">http://geoserving.net/</a> <a href="http://geoserving.net" target="_blank">geoserving.net</a><br>
<font color="#888888">--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Empty-Base-Layer-tp5314013p5314066.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Empty-Base-Layer-tp5314013p5314066.html</a><br>






Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
</font><div><div></div><div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openlayers.org" target="_blank">Users@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><font color="#888888">-- <br><a href="http://uwmike.com" target="_blank">http://uwmike.com</a><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div>-- <br><a href="http://uwmike.com" target="_blank">http://uwmike.com</a><br>
</div></div>
</blockquote></div><br>