private void Navigate() { if (originMarker == null || destinationMarker == null) { NavigationSystem.Clear(); } else { NavigationSystem.Navigate(originMarker.position, destinationMarker.position); } }