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
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to