Trouble adding a LocalDynamicMapServiceLayer to an empty map

Discussion created by ccposton on Mar 18, 2013
Latest reply on Mar 19, 2013 by ccposton
Using the example found here:

I am able to add a shapefile via a LocalDynamicMapServiceLayer. The map in the example is defined as follows:

<esri:Map x:Name="_map" UseAcceleratedDisplay="False">
            <!-- ArcGIS Online Tiled Basemap Layer -->
            <esri:ArcGISTiledMapServiceLayer ID="World Topographic Basemap (3857)" x:Name="_worldTopographicBasemap" 

If I remove the ArcGISTiledMapServiceLayer above the sample no longer works. I am not able to see the LocalDynamicMapServiceLayer that I add when starting with an empty map. Why is this?

Note: If I create a FeatureLayer from my LocalDynamicMapServiceLayer and add that to the map prior to adding my LocalDynamicMapServiceLayer then the LocalDynamicMapServiceLayer seems to show up. Very strange.