AnsweredAssumed Answered

Why does ArcGISDynamicMapServiceLayer do not load from http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer

Question asked by xtian79 on Jul 9, 2014
Latest reply on Jul 14, 2014 by MBranscomb-esristaff

Dear people from the future...Here we are figure so far......

 

Why does ArcGISDynamicMapServiceLayer do not load from http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer??

 

I create an app in  ArcGIS Runtime for WPF 10.2.2 (File/new/application)....and only modify the XAML :

 

<Window x:Class="BaseMapProject.MainWindow"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

       xmlns:esri="http://schemas.esri.com/arcgis/client/2009"

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

    <Grid>  

 

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

           

            <esri:ArcGISDynamicMapServiceLayer Url="http://services.arcgisonline.com/arcgis/rest/services/ESRI_Imagery_World_2D/MapServer"

                                              InitializationFailed="Layer_OnInitializationFailed"

                                              Initialized="Layer_OnInitializationFailed"/>          

        </esri:Map>

        <Button Content="Button" HorizontalAlignment="Left" Margin="38,25,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click"/>

        <Button Content="Button" HorizontalAlignment="Left" Margin="147,25,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click_1"/>

    </Grid>

</Window>

 

 

it does not appear.

Outcomes