AnsweredAssumed Answered

How do I overcome airspace issues with WPF and the esri:MapView?

Question asked by nanney on Mar 16, 2016


I put a textblock on top as seen below and the map freezes

 

<Window x:Class="MapApp.MainWindow"

        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:esri="http://schemas.esri.com/arcgis/runtime/2013"

        xmlns:local="clr-namespace:MapApp"

        mc:Ignorable="d"

        Title="MainWindow" Height="350" Width="525">

    <Grid>

        <esri:MapView x:Name="MyMapView">

            <esri:Map x:Name="MyMap">

                <esri:ArcGISTiledMapServiceLayer ID="BaseMap"

                    ServiceUri="http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>

            </esri:Map>

        </esri:MapView>

        <TextBlock Foreground="Red">Whatever</TextBlock>

 

 

    </Grid>

   

</Window>

Outcomes