[OpenLayers-Users] removeLayer

Arnd Wippermann arnd.wippermann at web.de
Sun Aug 6 09:55:19 CDT 2006


Hello,

I have a problem with IE and removeLayer. In my test application
http://gis.ibbeck.de/pinguinale/mapserver.html i kill the map before I draw
a new one. Without removeLayer OpenLayers get the tiles for the new layer
and also in the background the tiles for the previous layer(s). So I have
insert the call removeLayer and in FF all goes well. Only IE don't want
something in the map.js: this.layerContainerDiv.removeChild(layer.div);. I
have changed the map.js, so IE jumps over this row of code and now it goes
well with IE, too.

Mit freundlichen Grüssen

Arnd Wippermann
http://gis.ibbeck.de/pinguinale/





More information about the Users mailing list