[OpenLayers-Users] Remove Layer from map

Moser Adrian Adrian.Moser at bs.ch
Thu Nov 16 05:37:09 EST 2006


Hi all,

I noticed that when I remove a Layer from the map with map.removeLayer(), when the Layer is being loaded, OpenLayers continues to load the data. I'm not using the LayerSwitcher Control. I have my on legend beside the map.
Is there a possibility to prevent OpenLayers from doing that?

Best regards,
Adrian Moser





More information about the Users mailing list