<?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: How to edit Polygon/Polyline vertices in Javscipt 4.0+ ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-edit-polygon-polyline-vertices-in-javscipt/m-p/1055387#M72970</link>
    <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use sketch or sketchViewModel to do what you are asking provided that I understood your question correctly. This sample shows how to modify a polygon after it has been created.&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sketch-update-validation/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sketch-update-validation/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are creating your geometries using Draw API then please be sure to add those graphics to a graphics layer associated with the sketch view model so that they can be updated via sketch.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 May 2021 19:26:16 GMT</pubDate>
    <dc:creator>UndralBatsukh</dc:creator>
    <dc:date>2021-05-06T19:26:16Z</dc:date>
    <item>
      <title>How to edit Polygon/Polyline vertices in Javscipt 4.0+ ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-edit-polygon-polyline-vertices-in-javscipt/m-p/1055045#M72953</link>
      <description>&lt;P&gt;Is there a way to edit Polygon/Polyline (drawn using the&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-draw-Draw.html" target="_self"&gt; Draw&lt;/A&gt; API ) vertices in Javacript 4.0+ versions ?Icouldn't find any examples for this, all I could find was examples and documention for older 3.0 versions. Please help if you know anything about this.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 05:15:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-edit-polygon-polyline-vertices-in-javscipt/m-p/1055045#M72953</guid>
      <dc:creator>SelectivelySocial</dc:creator>
      <dc:date>2021-05-06T05:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Polygon/Polyline vertices in Javscipt 4.0+ ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-edit-polygon-polyline-vertices-in-javscipt/m-p/1055387#M72970</link>
      <description>&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use sketch or sketchViewModel to do what you are asking provided that I understood your question correctly. This sample shows how to modify a polygon after it has been created.&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sketch-update-validation/" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sketch-update-validation/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you are creating your geometries using Draw API then please be sure to add those graphics to a graphics layer associated with the sketch view model so that they can be updated via sketch.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps,&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 19:26:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-edit-polygon-polyline-vertices-in-javscipt/m-p/1055387#M72970</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2021-05-06T19:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit Polygon/Polyline vertices in Javscipt 4.0+ ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-edit-polygon-polyline-vertices-in-javscipt/m-p/1055394#M72971</link>
      <description>&lt;P&gt;Hey thanks for the reply, I'll try this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 May 2021 19:31:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-edit-polygon-polyline-vertices-in-javscipt/m-p/1055394#M72971</guid>
      <dc:creator>SelectivelySocial</dc:creator>
      <dc:date>2021-05-06T19:31:05Z</dc:date>
    </item>
  </channel>
</rss>

