Ejemplo n.º 1
0
        protected override void OnDestroy()
        {
            base.OnDestroy();

            // dispose of all resources.
            // the mapview is completely destroyed in this sample, read about the Android Activity Lifecycle here:
            // http://docs.xamarin.com/guides/android/application_fundamentals/activity_lifecycle/
            _mapView.Map.Close();

            _mapView.Close();
            _mapView.Dispose();
        }
Ejemplo n.º 2
0
        protected override void OnDestroy()
        {
            base.OnDestroy();

            OsmSharp.Logging.Log.TraceEvent("TilesActivity", OsmSharp.Logging.TraceEventType.Information, _mapView.CurrentView.ToString());

            // dispose of all resources.
            // the mapview is completely destroyed in this sample, read about the Android Activity Lifecycle here:
            // http://docs.xamarin.com/guides/android/application_fundamentals/activity_lifecycle/
            _mapView.Map.Close();

            _mapView.Close();
            _mapView.Dispose();
        }