<?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: Renderer polygon rings as points in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195736#M78058</link>
    <description>&lt;P&gt;I have objects with multiple drawn polygons to them.&amp;nbsp; I am using a feature service. These polygons are all around the city.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I change the renderer to simple-marker it only renders one polygon to point and that's it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pol.png" style="width: 969px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/46743i164E483564A2411E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pol.png" alt="pol.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jul 2022 05:06:56 GMT</pubDate>
    <dc:creator>MariusPikzirnis</dc:creator>
    <dc:date>2022-07-26T05:06:56Z</dc:date>
    <item>
      <title>Renderer polygon rings as points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195364#M78040</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have polygons with multiple rings. At some zoom level I am rendering polygons to points, but only one point is rendered to multi polygons.&lt;/P&gt;&lt;P&gt;Is it possible to render points for each ring?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 11:58:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195364#M78040</guid>
      <dc:creator>MariusPikzirnis</dc:creator>
      <dc:date>2022-07-25T11:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Renderer polygon rings as points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195429#M78041</link>
      <description>&lt;P&gt;Do you want to render the vertices of the polygon to points? Or the center of the polygons to points?&lt;/P&gt;&lt;P&gt;You would need to break the polygon into polylines and the polylines into points. I have a utility you can use for that.&lt;BR /&gt;&lt;A href="https://github.com/odoe/explode/" target="_blank"&gt;https://github.com/odoe/explode/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For the render to polygon to points, you can define the renderer to display points and it will use the centroid of the polygon.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-SimpleRenderer.html" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-renderers-SimpleRenderer.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The center can be a little off if it's an oddly shaped polygon, like a horse shoe or something.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2022 15:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195429#M78041</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-07-25T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Renderer polygon rings as points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195736#M78058</link>
      <description>&lt;P&gt;I have objects with multiple drawn polygons to them.&amp;nbsp; I am using a feature service. These polygons are all around the city.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I change the renderer to simple-marker it only renders one polygon to point and that's it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pol.png" style="width: 969px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/46743i164E483564A2411E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pol.png" alt="pol.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 05:06:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195736#M78058</guid>
      <dc:creator>MariusPikzirnis</dc:creator>
      <dc:date>2022-07-26T05:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Renderer polygon rings as points</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195918#M78066</link>
      <description>&lt;P&gt;That's expected. So you want to show the vertices of the polygon as points? You'll need to break it down to points using something like the explode utility I linked above. Polygons -&amp;gt; Polylines -&amp;gt; Points&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jul 2022 14:39:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/renderer-polygon-rings-as-points/m-p/1195918#M78066</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-07-26T14:39:31Z</dc:date>
    </item>
  </channel>
</rss>

