[OpenLayers-Users] Merge Bounds?
Jan Henrik Øverland
janhenrik.overland at gmail.com
Fri Aug 19 15:30:14 EDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110819/842d33e3/attachment.html
More information about the Users
mailing list