Sorry, I can use extend(). On Fri, Aug 19, 2011 at 21:30, Jan Henrik Øverland < janhenrik.overl...@gmail.com> wrote:
> 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. > > 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? > > Jan >
_______________________________________________ Users mailing list us...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-users