[OpenLayers-Dev] removeLayer issue?

Christopher Schmidt crschmidt at metacarta.com
Sat Oct 13 18:26:03 EDT 2007

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...

Christopher Schmidt

More information about the Dev mailing list