On Mon, Apr 12, 2010 at 10:16 AM, Chris Green <[email protected]> wrote: > Hi Eric > > The code I am using (slightly simplified) is below. I am not calling > getZIndex, I have been assuming that it is called somehow as part of the > layer.destroy() function
Layer.destroy() doesn't call getZIndex. What calls getZIndex is the Feature handler (used in the SelectFeature control). Before destroying the layer you can try to destroy the SelectFeature control attached to that layer. 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
