On Sat, Apr 18, 2009 at 10:58 PM, Arnd Wippermann <[email protected]> wrote: > Hi, > > The function OpenLayers.Layer.Vector.getDataExtent modified the bounds of > the first feature of a vector layer. I would think, it's a bug and can > solved by adding clone() > > var maxExtent = this.features[0].geometry.getBounds().clone();
Hi Arnd, you're not using trunk, are you? I think http://trac.openlayers.org/changeset/8349 fixed that bug. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : [email protected] http://www.camptocamp.com _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
