<?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 label issue and graphic overlap in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-issue-and-graphic-overlap/m-p/699560#M15642</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having two issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;issue 1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I showed tract polygons on the map using featurelayer..I showed the tract number for labels..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used tract geometry.extent.center.x, and geometry.extent.center.y as the mappoint and used these mappoints for labels(with symbol set to textsymbol)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem happens when we encounter such a geometry where center falls outside the polygon geometry..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case , the tract number shows in outside the polygon and difficult to know which one it belogs to..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to fix it ??( I mean to get a mappoint that always falls inside the polygon..Note there is an algorithm to determine whether a point is inside a polygon by finding out if i crosss the boundary in odd number, but I can not implement that because I donot have points that comprise that polygon and also it will be killer for performance)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;issue 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two graphics layer --both layers got icons... Some of the icons in one layer falls on top of the icons of the other layer...Is there a way to separate them out?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Abu Khan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 May 2011 19:20:56 GMT</pubDate>
    <dc:creator>abukhan</dc:creator>
    <dc:date>2011-05-25T19:20:56Z</dc:date>
    <item>
      <title>label issue and graphic overlap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-issue-and-graphic-overlap/m-p/699560#M15642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am having two issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;issue 1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I showed tract polygons on the map using featurelayer..I showed the tract number for labels..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I used tract geometry.extent.center.x, and geometry.extent.center.y as the mappoint and used these mappoints for labels(with symbol set to textsymbol)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem happens when we encounter such a geometry where center falls outside the polygon geometry..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In that case , the tract number shows in outside the polygon and difficult to know which one it belogs to..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to fix it ??( I mean to get a mappoint that always falls inside the polygon..Note there is an algorithm to determine whether a point is inside a polygon by finding out if i crosss the boundary in odd number, but I can not implement that because I donot have points that comprise that polygon and also it will be killer for performance)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;issue 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Two graphics layer --both layers got icons... Some of the icons in one layer falls on top of the icons of the other layer...Is there a way to separate them out?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Abu Khan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 19:20:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-issue-and-graphic-overlap/m-p/699560#M15642</guid>
      <dc:creator>abukhan</dc:creator>
      <dc:date>2011-05-25T19:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: label issue and graphic overlap</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-issue-and-graphic-overlap/m-p/699561#M15643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For issue 1: you might want to use labelPoints method of GeometryService.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/tasks/GeometryService.html&amp;amp;com/esri/ags/tasks/class-list.html"&gt;http://help.arcgis.com/en/webapi/flex/apiref/index.html?com/esri/ags/tasks/GeometryService.html&amp;amp;com/esri/ags/tasks/class-list.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this would mean one more call to the server.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2011 19:30:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/label-issue-and-graphic-overlap/m-p/699561#M15643</guid>
      <dc:creator>MehulChoksey</dc:creator>
      <dc:date>2011-05-25T19:30:07Z</dc:date>
    </item>
  </channel>
</rss>

