Smcneil1

Graphics Layer drawn underneath map

Discussion created by Smcneil1 on May 1, 2013
Latest reply on May 3, 2013 by Smcneil1
Just getting started with the SDK, and attempting to draw some simple graphics (markers) at specific geographic locations, using code behind.  My xaml defines two layers (graphics layer is second) as shown below.

               <esri:ArcGISLocalFeatureLayer  ID="Whatever"
                                           Path="C:\MapData\USCitiesStates_Apr24.mpk"
                                           LayerName="Cities"/>

                <esri:GraphicsLayer ID="MyGraphicsLayer" />

When app is run, the graphics are added at runtime, I can momentarily see them (in the correct locations) before the map is drawn on top, covering my graphics.  Also see the graphics momentarily if I resize or zoom the map, causing all layers to be redrawn.   What do I need to do differently? 

Help is appreciated!

Outcomes