Esempio n. 1
0
        private async Task CloseView()
        {
            try
            {
                await SplitView.Instace().PopRightContent();

                _mapview.DisposeMap();
                GC.Collect(0, GCCollectionMode.Forced);
                AddVisitPopupView.AddNewCasePointOnMapView = null;
                FullMapView.AddNewCasePointOnMapView       = null;
                AppContext.AppContext.NewRecordInProgress  = false;
            }
            catch (Exception ex)
            {
                LogTracking.LogTrace(ex.ToString());
            }
        }