private void lbDirection_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (lbDirections.SelectedIndex == 0)
            {
                return;
            }

            DirectionSummary direction = (DirectionSummary)lbDirections.SelectedItem;

            _directionsResultView = new DirectionsResultView(_mapWidget, this, direction.SelectedRoute, _closestFacilityToolbar);

            _mapWidget.Map.ZoomTo(direction.SelectedRoute.Route.Geometry.Extent.Expand(1.2));
            _mapWidget.SetToolbar(_directionsResultView);
        }
        private void lbDirection_SelectionChanged(object sender, SelectionChangedEventArgs e)
        {
            if (lbDirections.SelectedIndex == 0)
                return;

            DirectionSummary direction = (DirectionSummary)lbDirections.SelectedItem;
            _directionsResultView = new DirectionsResultView(_mapWidget, this, direction.SelectedRoute, _closestFacilityToolbar);

            _mapWidget.Map.ZoomTo(direction.SelectedRoute.Route.Geometry.Extent.Expand(1.2));
            _mapWidget.SetToolbar(_directionsResultView);
        }