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'
On Mon, Apr 12, 2010 at 8:13 AM, Chris Green chris.gr...@ibstv.co.uk 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
On Mon, Apr 12, 2010 at 10:16 AM, Chris Green chris.gr...@ibstv.co.uk 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.
...@camptocamp.com]
Sent: 12 April 2010 10:35
To: chris.gr...@ibstv.co.uk
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] vector layer destroyed twice throws error
On Mon, Apr 12, 2010 at 10:16 AM, Chris Green chris.gr...@ibstv.co.uk
wrote:
Hi Eric
The code I am using (slightly simplified
On Monday, April 12, 2010, Chris Green chris.gr...@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