protected override void OnStop()
        {
            base.OnStop();

            mapView.OnStop();
            if (locationLayer != null)
            {
                locationLayer.OnStop();
            }
        }
Beispiel #2
0
        protected override void OnStop()
        {
            base.OnStop();
            mapView.OnStop();

            ShutdownLocationEngine();

            if (locationLayerPlugin != null)
            {
                locationLayerPlugin.OnStop();
            }

            if (navigation != null)
            {
                // End the navigation session
                navigation.EndNavigation();
            }
        }