Using UseAcceleratedDisplay crashes my application

Discussion created by ArielLo on Apr 9, 2013
Latest reply on Apr 10, 2013 by kuiperfoliage

I'm trying to use the UseAcceleratedDisplay property and no matter in what form I use it (either as a property in the esri:Map object or as an object on it's on by puting my layers in <AcceleratedDisplayLayers></AcceleratedDisplayLayers>) it crashes my application.

Here is an example of my XAML code:

<esri:Map x:Name="MyMap" esri:Editor.SnapDistance="0" WrapAround="True" Margin="1,1,1,0"  Height="{Binding Path=LocalSubLayerList}"
                      Background="White" MinimumResolution="0.001" MaximumResolution="1000" Style="{StaticResource MyMapStyle}"
                      MouseEnter="Map_MouseEnter" MouseLeave="Map_MouseLeave" MouseClick="QueryPoint_MouseClick" IsEnabled="False" IsLogoVisible="False" AllowDrop="True"

                            <esri:ArcGISLocalDynamicMapServiceLayer ID="Layers" x:Name="MXD1" DisableClientCaching="True" EnableDynamicLayers="True"

                            <esri:GraphicsLayer ID="SelectGraphic" RendererTakesPrecedence="True" ShowLegend="False"/>
                            <esri:GraphicsLayer ID="AreaGraphic" RendererTakesPrecedence="True" ShowLegend="False"/>
                            <esri:GraphicsLayer ID="DistanceGraphic" RendererTakesPrecedence="True" ShowLegend="False"/>


A note: in the MPK I use, I load both my layers and my rasters, meaning I don't use TPK for loading my rasters. The reason for this is that when I used TPK and MPK seperately, for some reason the GraphicLayers didn't appear in the application.

Any ideas?