OpenGeoscience / geoweb

Open source geoscience tools and applications
8 stars 3 forks source link

Data display shows data from removed layer #135

Closed aashish24 closed 10 years ago

ghost commented 10 years ago

That's because the map.removeLayer() method never removes the removed layer from m_layers. The query goes through all layers in m_layers because I assumed they would be removed from that list.

aashish24 commented 10 years ago

Ah..can you push a fix? I can review. I thought about something like this.

aashish24 commented 10 years ago

Looks good! Approved. Thanks for pushing this fix.