[OpenLayers-Dev] removeLayer issue?

Eric Lemoine eric.c2c at gmail.com
Sun Oct 14 09:03:02 EDT 2007

On 10/14/07, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Sat, Oct 13, 2007 at 11:35:10PM +0200, Eric Lemoine wrote:
> > Hi
> >
> > Map.removeLayer() moves layers in the Map.layers array, but do not
> > change these layers' z-index values. Can't this cause problems, or at
> > least unexpected behavior from the OpenLayers user standpoint?
> > Do you think this deserves a ticket and a fix?
> Yep. Though I don't know how I'd fix it off the top fo my head :) maybe
> z-index reordering when removeLayer is called...

I was thinking of that as well. I'll open a ticket and hopefully post a patch.


More information about the Dev mailing list