[OpenLayers-Users] vector layer destroyed twice throws error

Eric Lemoine eric.lemoine at camptocamp.com
Mon Apr 12 07:33:52 EDT 2010


On Monday, April 12, 2010, Chris Green <chris.green at ibstv.co.uk> wrote:
> Hi Eric
>
> Thanks for your suggestion but unfortunately it doesn't help - I tried to
> destroy the SelectFeature Control (testing if null first) before destroying
> the vector layer, but there was no change to the problem - I still get
> 'zIndex is null' errors each of the even number of times that I call it.

I'd add a breakpoint in setZIndex to know when it's called and what calls it.

Providing a live example would help me and others help you.

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 : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list