On Mon, Apr 12, 2010 at 8:13 AM, Chris Green <[email protected]> wrote: > Hello List > > > > I am using OL 2.8 and have a vector layer that is populated with features > via WFS. In my application I need to be able to remove and re-create the > vector layer repeatedly, which I can perform once only but the second time > I call layer.detroy() I get the error ‘this div is null’ thrown by the > getZIndex function in Layer.js.
The error indicates that getZIndex is called on a destroyed layer. Is it your code that calls getZIndex? Cheers, -- 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
