protected override void OnStop() { base.OnStop(); mapView.OnStop(); if (locationLayer != null) { locationLayer.OnStop(); } }
protected override void OnStop() { base.OnStop(); mapView.OnStop(); ShutdownLocationEngine(); if (locationLayerPlugin != null) { locationLayerPlugin.OnStop(); } if (navigation != null) { // End the navigation session navigation.EndNavigation(); } }