Hello, I have a quite weird problem. I have the following user control:
Code:
<UserControl x:Class="MyApplication.ucMap"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Controls="clr-namespace:Microsoft.Phone.Maps.Controls;assembly=Microsoft.Phone.Maps"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">
<Grid x:Name="LayoutRoot" Background="{StaticResource PhoneChromeBrush}">
        <Grid x:Name="MapGrid" Background="{StaticResource PhoneChromeBrush}">
            <Controls:Map
            x:Name="TripMap"
            PedestrianFeaturesEnabled="True"
            LandmarksEnabled="True"
            ZoomLevel="1.4"
            IsHitTestVisible="False"
            Pitch="30"
            CartographicMode="road"
                HorizontalAlignment="Stretch"
                VerticalAlignment="Stretch"
                BorderBrush="Blue"
                BorderThickness="3"
                >
            </Controls:Map>
            <TextBlock x:Name="mapHelpHeader" TextWrapping="Wrap" Text="Back button to exit full screen" Foreground="Black" Visibility="Collapsed" IsHitTestVisible="False" VerticalAlignment="Top" HorizontalAlignment="Left"/>
            <Slider x:Name="sliderZoomLevel" Margin="50,0,50,0" HorizontalAlignment="Stretch" VerticalAlignment="Bottom" Maximum="20" ValueChanged="sliderZoomLevel_ValueChanged" SmallChange="1" Value="10" Minimum="1"/>
            <Slider x:Name="sliderPitchLevel" Margin="0,50,0,50" HorizontalAlignment="Left" VerticalAlignment="Stretch" Maximum="75" ValueChanged="sliderPitchLevel_ValueChanged" SmallChange="1" Value="30" Minimum="0" Orientation="Vertical"/>
        </Grid>
    </Grid>
</UserControl>
As you can see, it contains a map in it (with a blue border). This user control is created dynamically and added to the main page of my application. My problem is the following. When I try to remove the user control from the main page and add it on a full-screen window (with a code like bellow), I am loosing the map contents.
Code:
            fullScreenMapDlg = new FullScreenDialog();
            fullScreenMapDlg.window.IsOpen = true;
            fullScreenMapDlg.window.WindowClosed += (s, e) =>
            {
              // blah... blah... blah... -> Revert everything back.
            };

            LayoutRoot.Children.Remove(MapGrid);
            fullScreenMapDlg.questGrid.Children.Add(MapGrid);
            Grid.SetRow(MapGrid, 0);
            Grid.SetColumn(MapGrid, 0);
            mapHelpHeader.Visibility = System.Windows.Visibility.Visible;
            TripMap.IsHitTestVisible = true;
The more weird is that I don't see the map, but I can see the 'blue' border of the map control (which probably means that the control is correctly located on the dialog). Even more weird is that if I set a MapLayer on the map control before switching to full screen, then the map is perfectly displayed fullscreen with that layer.
Is it possible that all these happening because I am trying to run the app from the emulator? Do the Windows Phone 8 maps have any issues with running in the emulator (apart from the internet connection needed)?

Thank you very much.

Yours sincerely

Efthymios Kalyviotis