<?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 Placing cylinder on featurelayer from array of client-side features in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-cylinder-on-featurelayer-from-array-of/m-p/1140285#M76249</link>
    <description>&lt;P&gt;I'm testing the Javascript API for a project and&amp;nbsp; am trying to place some features on a featurelayer as an array of client-side features. Normal polygons work well, but I can't find the correct way of placing a circle (extruded to make a 3D cylinder). In my mind the array would look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const cylFeatures = [
   {
      geometry: {
         type: 'circle',
         center: [10.296842,61.313066],
      },
      attributes: {
         objectID: 200,
         elevation: 390,
         height: 5,
         width: 12
      }
   }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then use unique value renderer to apply the width, height and elevation to the circle features. But this doesn't work of course. According to the documentation it seems like I can't use the circle type at all here.&lt;/P&gt;&lt;P&gt;I'm looking for clues to how I can do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 03 Feb 2022 14:18:30 GMT</pubDate>
    <dc:creator>sab9000</dc:creator>
    <dc:date>2022-02-03T14:18:30Z</dc:date>
    <item>
      <title>Placing cylinder on featurelayer from array of client-side features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-cylinder-on-featurelayer-from-array-of/m-p/1140285#M76249</link>
      <description>&lt;P&gt;I'm testing the Javascript API for a project and&amp;nbsp; am trying to place some features on a featurelayer as an array of client-side features. Normal polygons work well, but I can't find the correct way of placing a circle (extruded to make a 3D cylinder). In my mind the array would look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const cylFeatures = [
   {
      geometry: {
         type: 'circle',
         center: [10.296842,61.313066],
      },
      attributes: {
         objectID: 200,
         elevation: 390,
         height: 5,
         width: 12
      }
   }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And then use unique value renderer to apply the width, height and elevation to the circle features. But this doesn't work of course. According to the documentation it seems like I can't use the circle type at all here.&lt;/P&gt;&lt;P&gt;I'm looking for clues to how I can do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 14:18:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-cylinder-on-featurelayer-from-array-of/m-p/1140285#M76249</guid>
      <dc:creator>sab9000</dc:creator>
      <dc:date>2022-02-03T14:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Placing cylinder on featurelayer from array of client-side features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-cylinder-on-featurelayer-from-array-of/m-p/1140338#M76254</link>
      <description>&lt;P&gt;For 3d points, you'll want to use an &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-ObjectSymbol3DLayer.html" target="_self"&gt;ObjectSymbol3DLayer&lt;/A&gt;. Here is a &lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=symbols-points-3d" target="_self"&gt;sample&lt;/A&gt; showing how it works.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 15:44:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-cylinder-on-featurelayer-from-array-of/m-p/1140338#M76254</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-02-03T15:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Placing cylinder on featurelayer from array of client-side features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-cylinder-on-featurelayer-from-array-of/m-p/1140570#M76257</link>
      <description>&lt;P&gt;Thank you for your reply! I will look into this solution. For now I have made my cylinder by making a circular polygon (using turf.js) and extruding that.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 21:40:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/placing-cylinder-on-featurelayer-from-array-of/m-p/1140570#M76257</guid>
      <dc:creator>sab9000</dc:creator>
      <dc:date>2022-02-03T21:40:48Z</dc:date>
    </item>
  </channel>
</rss>

