<?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: label graphics (2.0 Beta) in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342144#M8182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks, Dasa. It works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;xiaoming&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 May 2010 16:58:40 GMT</pubDate>
    <dc:creator>xiaomingqin</dc:creator>
    <dc:date>2010-05-28T16:58:40Z</dc:date>
    <item>
      <title>label graphics (2.0 Beta)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342142#M8180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a query to get features and draw them as polygons on graphic layer. The number of graphics can be in a range from 10 up to 2000. Now I need to label these graphics, I can think of two options here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. turn the map service on, using definition query and setting visible layers to just show the labels for those graphics. the problem is that the labels are beneath the graphics and that could cause them hard to read.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. using GeometryService's labelPoints to return the label position for each graphic and then draw text using one of graphic's attribute at that position. I am not sure how the performance will be. Also, if I send all graphics together to the geometry service, are the returned label points in order? Or I have to do some work on client side to find which point belongs to which graphic? Another problem of this approach is it's hard to determine the text size at various scale.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. I'd love to know if it's possible to do all the work on the client side. Finding the center point of the graphic and then just draw the text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anybody done similar work before and want to share the experience? All suggestion are highly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;xiaoming&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Prince William County, VA&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 12:34:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342142#M8180</guid>
      <dc:creator>xiaomingqin</dc:creator>
      <dc:date>2010-05-28T12:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: label graphics (2.0 Beta)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342143#M8181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For option 1, have you tried putting your ArcGISDynamicMapServiceLayer over your GraphicsLayer? This should work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 16:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342143#M8181</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-05-28T16:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: label graphics (2.0 Beta)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342144#M8182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks, Dasa. It works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;xiaoming&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 May 2010 16:58:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342144#M8182</guid>
      <dc:creator>xiaomingqin</dc:creator>
      <dc:date>2010-05-28T16:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: label graphics (2.0 Beta)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342145#M8183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This was easy in previous API... geometryservice used to return a graphic with attributes as well as the geom.&amp;nbsp; Has anyone figured out how to get attributes since this (imho:&amp;nbsp; a step backward) change?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 16:42:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-graphics-2-0-beta/m-p/342145#M8183</guid>
      <dc:creator>WilliamBailey</dc:creator>
      <dc:date>2011-07-20T16:42:42Z</dc:date>
    </item>
  </channel>
</rss>

