Is there any way to release map or layer in ArcGIS.NET store API?

1594
0
02-03-2016 01:49 AM
keithknight
New Contributor

I'm working on an app using ArcGIS.net store API. I'm trapped by resource release when app suspending and resuming. When app gets suspending, it exits for no reason. The question is if I donot load any layer(in .geodatabase stored in local system), there will be no exception.

I checked the API, but did not found any method to release mapview or layer loaded to mapview, except LayerUnloaded event in mapview class , but there is no example and I don't know the method to unload layer.

Is there anyone has the same problem? What should I exactly do to avoid unexpected exit when UWP suspending? Please do help me out.

Sorry for my english.

Tags (1)
0 Kudos
0 Replies