Thanks,

Changing from 2.7 Stable to OpenLayer 2.8 RC1 now it works.

Arnd

 

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Gesendet: Sonntag, 19. April 2009 23:40
An: Arnd Wippermann
Cc: [email protected]
Betreff: Re: [OpenLayers-Users] OpenLayers.Layer.Vector.getDataExtent bug

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

Reply via email to