<Grid x:Name="LayoutRoot" Background="White"> <Grid.Resources> <esri:SimpleMarkerSymbol x:Name="MyMarkerSymbol" Color="Red" Size="12" Style="Circle" /> <esri:UniqueValueRenderer x:Name="MyValueRenderer" DefaultSymbol="{StaticResource MyMarkerSymbol}" Attribute="TYPE"> <esri:UniqueValueRenderer.Infos> </esri:UniqueValueRenderer.Infos> </esri:UniqueValueRenderer> </Grid.Resources> <esri:Map x:Name="Map"> <esri:ArcGISTiledMapServiceLayer ID="PhysicalTiledLayer" Url="http://server.arcgisonline.com/ArcGIS/rest/services/NPS_Physical_World_2D/MapServer"/> <!-- <esri:FeatureLayer x:Name="SignTestFeatureLayer1" Url="http://vpc1778politi/ArcGIS/rest/services/PolitiSkilt/MapServer/1" Renderer="{StaticResource MyValueRenderer}" />--> <esri:FeatureLayer x:Name="SignTestFeatureLayer2" Url="http://vpc1778politi/ArcGIS/rest/services/PolitiSkilt/MapServer/1" FeatureSymbol="{StaticResource MyMarkerSymbol}" /> </esri:Map> </Grid>
New to ArcGIS 10 is the "DrawingInfo" which defines the Renderer. When you visit your FeatureLayer URL in the browser, do you see this property and symbols defined? Is this the symbol you see in your map when you run your application? If yes, the Renderer trumps the FeatureSymbol and if you don't want the Renderer to be used you should set it to null. What you can do is either set the FeatureSymbol or overwrite your layer's renderer by setting it to a SimpleRenderer with your marker symbol. I suggest to use SimpleRenderer over UniqueValueRenderer if you don't have to distinguish between types or attributes. If you want a single feature symbol used for your graphics.
<esri:FeatureLayer ID="GISClients" Url="http://ags2.cdm.com/ArcGIS/rest/services/GISClients/MapServer/0" Renderer="" FeatureSymbol="{StaticResource MyMarkerSymbol}" OutFields="First_Name,Last_Name"> <esri:FeatureLayer.Clusterer> <esri:FlareClusterer FlareBackground="Blue" FlareForeground="Black" MaximumFlareCount="10" Gradient="{StaticResource BlueGradient}" /> </esri:FeatureLayer.Clusterer>