Sorry, I can use extend().<br><br><div class="gmail_quote">On Fri, Aug 19, 2011 at 21:30, Jan Henrik Øverland <span dir="ltr">&lt;<a href="mailto:janhenrik.overland@gmail.com">janhenrik.overland@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">The vector layer getDataExtent() function returns a Bounds object. I have several vector layers and want to zoomToExtent() so that all of them fit in.<div>

<br></div><div>Is there an easy way to merge Bounds objects? Or do I have to collect the left, bottom, right, top from all of them and create my own Bounds with the greater values?</div>
<div><br></div><font color="#888888"><div>Jan</div>
</font></blockquote></div><br>