<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I label features rendered in a feature layer? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468917#M12110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The best solution is to publish a service with your labels annotated as you like, then turn them on and off as needed. However, if your stuck you can check out this sample.&amp;nbsp; It shows how to work with TextSymbols which you can assign to your graphics in the GraphicsCollection.&amp;nbsp; From FeatureLayer you can get a GraphicsCollection.&amp;nbsp; I have not tried this but it's something to attempt if you cannot add another layer containing annotations. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer_members.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer_members.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug Carroll, ESRI Support Services SDK Team &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/"&gt;http://support.esri.com/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Sep 2010 05:41:09 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2010-09-10T05:41:09Z</dc:date>
    <item>
      <title>How can I label features rendered in a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468916#M12109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using a FeatureLayer to render polygons on a Silverlight map.&amp;nbsp; I need to label each polygon with an attribute from the underlying feature class.&amp;nbsp; I know a DynamicMapServiceLayer supports labeling from the server, but I don't want to use a DynamicMapServiceLayer.&amp;nbsp; I can't figure out how to label a FeatureLayer since the Silverlight client handles the drawing.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried modifying the symbology, but couldn't figure out how to get both a text symbol and fill symbol together.&amp;nbsp; Next, I looked at manually specifying a ControlTemplate for the symbol.&amp;nbsp; I could get the text to display, but not the fill on the polygon shape.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 19:27:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468916#M12109</guid>
      <dc:creator>JordanParmer</dc:creator>
      <dc:date>2010-09-09T19:27:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I label features rendered in a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468917#M12110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The best solution is to publish a service with your labels annotated as you like, then turn them on and off as needed. However, if your stuck you can check out this sample.&amp;nbsp; It shows how to work with TextSymbols which you can assign to your graphics in the GraphicsCollection.&amp;nbsp; From FeatureLayer you can get a GraphicsCollection.&amp;nbsp; I have not tried this but it's something to attempt if you cannot add another layer containing annotations. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AddGraphics&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer_members.html"&gt;http://help.arcgis.com/en/webapi/silverlight/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.FeatureLayer_members.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug Carroll, ESRI Support Services SDK Team &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/"&gt;http://support.esri.com/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 05:41:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468917#M12110</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-09-10T05:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I label features rendered in a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468918#M12111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks!&amp;nbsp; I'll experiment with both of those and see what works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 13:33:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468918#M12111</guid>
      <dc:creator>JordanParmer</dc:creator>
      <dc:date>2010-09-10T13:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I label features rendered in a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468919#M12112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's not useful. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Labels must be shown on map with FeatureLayer. So that I can open or close the label form legend.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there is not support for this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2012 12:24:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468919#M12112</guid>
      <dc:creator>MustafaOgurlu</dc:creator>
      <dc:date>2012-10-30T12:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I label features rendered in a feature layer?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468920#M12113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;One approach could be as below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Use geometry service to get label points for the desired features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Use text graphics at these points.This text would take on value based on some field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;HTH.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 03:45:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-can-i-label-features-rendered-in-a-feature/m-p/468920#M12113</guid>
      <dc:creator>SanajyJadhav</dc:creator>
      <dc:date>2012-10-31T03:45:01Z</dc:date>
    </item>
  </channel>
</rss>

