Quantcast
Channel: DotSpatial Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1128

Commented Issue: Removing layer with map.layers.remove destroys underlying FS [23896]

$
0
0
When using map.layers.remove the underlying featureset is no longer available.

This is problematic when using IMPLs with another control to add/remove layers.
Comments: ** Comment from web user: danames **

OK it looks like this behavior was "by design" so that when you remove layers from the map we let go of the files they are connected to so as not to leave them locked and have memory leaks. However I see that if you create the FS in one step then add it to the map in the next step, removing it from the map shouldn't destroy it.


Viewing all articles
Browse latest Browse all 1128

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>