Select to view content in your preferred language

how to use ArcMap symbols in Silverlight Graphics

694
2
12-27-2011 12:02 PM
AshakaThakore
Emerging Contributor
I have added a graphics layer -
<esri:GraphicsLayer ID="NoResultsGraphicsLayer" Visible="False"  >
                        <esri:GraphicsLayer.Graphics>
                            <esri:Graphic Symbol="ESRI SYMBOL - HAZARDOUS MAterials "  >
                                <esri:MapPoint X="-8560100.001" Y="4734427.700" />
                            </esri:Graphic>
                        </esri:GraphicsLayer.Graphics>
                    </esri:GraphicsLayer>

Now i want to use the symbols that we have in Arcmap - like under CharacterMarkerSymbols we have "ESRI Hazardous Material", "ESRI Conservation. Now I want to use one of those symbols and for this graphics layer... how can i do that..
Also I want to be able to change the color of those symbols..

Pl help

thanks a lot
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
Two cases: 

  • If you are using a FeatureLayer, you will automatically get the symbology defined in ArcMap (from ArcGIS server 10.0 though).

  • If you want to redefeine ths symbol from scratch for a local graphics layer, you can look at the symbol gallery . There is a lot of symbol samples. This is a good strating point to define yours.

0 Kudos
AshakaThakore
Emerging Contributor
thanks a lot i want symbols for my graphics layer
0 Kudos