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><div>Jan</div>