<?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: Polygon Centroid INSIDE the Polygon in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/polygon-centroid-inside-the-polygon/m-p/11121#M258</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tyler,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You have to use a GeometryService and the labelPoints function to do that look at this sample&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=LabelPoints"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=LabelPoints&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Aug 2010 17:23:50 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2010-08-20T17:23:50Z</dc:date>
    <item>
      <title>Polygon Centroid INSIDE the Polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/polygon-centroid-inside-the-polygon/m-p/11120#M257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am trying to figure out how to force a centroid inside a polygon. I have been using:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;polygon.extent.center;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a number of functions that follow these nested method that assume that the point falls withing the polygon. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How do you force the polygon to fall inside the center of the polygon? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tyler&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 17:16:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/polygon-centroid-inside-the-polygon/m-p/11120#M257</guid>
      <dc:creator>TylerWaring</dc:creator>
      <dc:date>2010-08-20T17:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Polygon Centroid INSIDE the Polygon</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/polygon-centroid-inside-the-polygon/m-p/11121#M258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Tyler,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You have to use a GeometryService and the labelPoints function to do that look at this sample&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=LabelPoints"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=LabelPoints&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 17:23:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/polygon-centroid-inside-the-polygon/m-p/11121#M258</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2010-08-20T17:23:50Z</dc:date>
    </item>
  </channel>
</rss>

