<?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: Sketch widget in conjunction with FeatureLayer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1194764#M78010</link>
    <description>&lt;P&gt;Thanks for the insights, i guess there is a bit of fiddling around. What caught my eye is the last item:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;You would need a separate FeatureLayer per geometry type as well.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Would love to understand this more and why?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In this scenario i am using polygon, polyline, and point, are you saying i should have 3 different FeatureLayers for each type? How do you differentiate between those featurelayers (i've been&amp;nbsp; trying to figure out if there is a way to name them and reference them)&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 23:59:00 GMT</pubDate>
    <dc:creator>Aeseir</dc:creator>
    <dc:date>2022-07-21T23:59:00Z</dc:date>
    <item>
      <title>Sketch widget in conjunction with FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1193860#M77988</link>
      <description>&lt;P&gt;I am currently using the sketch widget to enable users to map out key objects on the map.&lt;/P&gt;&lt;P&gt;However I want to use the power of Feature Layer for the objects created so that i can leverage key capabilities.&lt;/P&gt;&lt;P&gt;Is there a way to sync the Sketch widget (which uses graphics layer) with my Feature layer?&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 11:26:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1193860#M77988</guid>
      <dc:creator>Aeseir</dc:creator>
      <dc:date>2022-07-20T11:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch widget in conjunction with FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1194010#M77994</link>
      <description>&lt;P&gt;Technically, this is what the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html" target="_blank" rel="noopener"&gt;Editor widget&lt;/A&gt; is for. But if you really wanted to, you could pass the graphics from the Sketch widget into the featureLayer.applyEdits, but kind of seems like the long way to get there. Plus you would need to populate the attributes in some way. You would need a separate FeatureLayer per geometry type as well.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jul 2022 15:40:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1194010#M77994</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-07-20T15:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch widget in conjunction with FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1194764#M78010</link>
      <description>&lt;P&gt;Thanks for the insights, i guess there is a bit of fiddling around. What caught my eye is the last item:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;You would need a separate FeatureLayer per geometry type as well.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Would love to understand this more and why?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In this scenario i am using polygon, polyline, and point, are you saying i should have 3 different FeatureLayers for each type? How do you differentiate between those featurelayers (i've been&amp;nbsp; trying to figure out if there is a way to name them and reference them)&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 23:59:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1194764#M78010</guid>
      <dc:creator>Aeseir</dc:creator>
      <dc:date>2022-07-21T23:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sketch widget in conjunction with FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1194952#M78020</link>
      <description>&lt;P&gt;FeatureLayers, by design with a FeatureService can only have a single geometry type.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-FeatureLayer.html#geometryType&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So if you have points, lines, polygons, you need a FeatureLayer for each.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2022 15:26:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/sketch-widget-in-conjunction-with-featurelayer/m-p/1194952#M78020</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2022-07-22T15:26:31Z</dc:date>
    </item>
  </channel>
</rss>

