AnsweredAssumed Answered

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

Question asked by wildish on Feb 3, 2016

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.

Outcomes