[OpenLayers-Dev] Exception in
OpenLayers.Layer.Grid.removeBackBuffer
Andreas Hocevar
ahocevar at opengeo.org
Wed Mar 14 04:14:28 EDT 2012
The clone method does not clone the grid, so it is not affected by the
state of any images in the grid, and it also does not clone any
backbuffer related properties. So the issue must be a different one.
Andreas.
On Wed, Mar 14, 2012 at 8:36 AM, Tim-Hinnerk Heuer <th.heuer at gmail.com> wrote:
> Just guessing here:
> Maybe the state of a layer changes when the tiles finish loading to
> something more consistent that can be cloned and maybe the <img> element is
> in a different state or not even there while it is loading? I seem to
> remember something like that when I was doing the VideoWMS. Correct me if
> I'm wrong.
>
> Thanks,
> Tim
>
> On Wed, Mar 14, 2012 at 8:28 PM, Eric Lemoine <eric.lemoine at camptocamp.com>
> wrote:
>>
>> On Wed, Mar 14, 2012 at 8:08 AM, Andreas Hocevar <ahocevar at opengeo.org>
>> wrote:
>> > The only occasions I could think of that could potentially make
>> > this.backBuffer both non-null and not a child of this.div is when a
>> > layer is cloned during tile loading
>>
>> I had thought about this too. But I'm still failing to understand how
>> cloning can lead to this state. Do you mind elaborating a bit? Thank
>> you.
>>
>>
>> --
>> 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
>
>
--
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.
More information about the Dev
mailing list