<?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 How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588886#M86573</link>
    <description>&lt;P&gt;Hi, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I wanted to change the vertex of the polyline but i didnot find any way to change the vertex of the polyline. Anybody have any idea how to do this.&lt;BR /&gt;&lt;BR /&gt;here is my code in codepen&lt;BR /&gt;&lt;A href="https://codepen.io/ayaxcphb-the-decoder/pen/ByaLRJq" target="_blank"&gt;https://codepen.io/ayaxcphb-the-decoder/pen/ByaLRJq&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thank You!&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 10:28:40 GMT</pubDate>
    <dc:creator>MirzaMuhammadAhsanAli</dc:creator>
    <dc:date>2025-02-25T10:28:40Z</dc:date>
    <item>
      <title>How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588886#M86573</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I wanted to change the vertex of the polyline but i didnot find any way to change the vertex of the polyline. Anybody have any idea how to do this.&lt;BR /&gt;&lt;BR /&gt;here is my code in codepen&lt;BR /&gt;&lt;A href="https://codepen.io/ayaxcphb-the-decoder/pen/ByaLRJq" target="_blank"&gt;https://codepen.io/ayaxcphb-the-decoder/pen/ByaLRJq&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 10:28:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588886#M86573</guid>
      <dc:creator>MirzaMuhammadAhsanAli</dc:creator>
      <dc:date>2025-02-25T10:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588893#M86574</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/802478"&gt;@MirzaMuhammadAhsanAli&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;There is an optional options parameter you can pass into the update method to set the reshape tool as active.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#update" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Sketch-SketchViewModel.html#update&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; sketchViewModel.update(polylineGraphic, {tool: "reshape"});&lt;/LI-CODE&gt;&lt;P&gt;&lt;A href="https://codepen.io/sagewall/pen/ogNzwZM" target="_blank"&gt;https://codepen.io/sagewall/pen/ogNzwZM&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 11:14:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588893#M86574</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2025-02-25T11:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588894#M86575</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;, Thank you for your response, I need to change the vertex symbols of the polyline, it is not changing the symbol of the vertex.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:48:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588894#M86575</guid>
      <dc:creator>MirzaMuhammadAhsanAli</dc:creator>
      <dc:date>2025-02-25T12:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588906#M86577</link>
      <description>&lt;P&gt;Sorry about that, I misunderstood the question.&amp;nbsp; I'm not so sure there is a way to change the vertex symbols. I can check in with the editing team, but I don't see an obvious way to do this.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:57:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588906#M86577</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2025-02-25T12:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588907#M86578</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;, Thank You for your support, please let me know here if you find any way to do this.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588907#M86578</guid>
      <dc:creator>MirzaMuhammadAhsanAli</dc:creator>
      <dc:date>2025-02-25T12:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588936#M86579</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/802478"&gt;@MirzaMuhammadAhsanAli&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I think the best we can do currently is change the colors with the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#theme4" target="_self"&gt;view.theme&lt;/A&gt; and &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#highlights" target="_self"&gt;view.highlights&lt;/A&gt;.&amp;nbsp; And these properties require more recent versions than you had in your original sample code.&amp;nbsp; View.highlights wasn't introduced until yesterday &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; at version 4.32.&amp;nbsp; I don't think there is a way to change the symbol to a square for example but using the theme property you can change the accentColor.&amp;nbsp; I found a sample to help and updated my codepen.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/view-theme/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/view-theme/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/sagewall/pen/ogNzwZM" target="_blank"&gt;https://codepen.io/sagewall/pen/ogNzwZM&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;      const view = new MapView({
        center: [-80, 35],
        container: "viewDiv",
        highlights: [{
          name: "default",
          color: "red"
        }],
        map,
        zoom: 3,
        theme: {
          accentColor: [255, 0, 0, 1],
          textColor: "red"
        }
      });&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 25 Feb 2025 14:48:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1588936#M86579</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2025-02-25T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1589278#M86584</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/507049"&gt;@Sage_Wall&lt;/a&gt;&amp;nbsp;, Thank you for continuous support.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 05:48:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1589278#M86584</guid>
      <dc:creator>MirzaMuhammadAhsanAli</dc:creator>
      <dc:date>2025-02-26T05:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the vertex of the polyline using SketchViewModel widget of ArcGIS Api for JS 4.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1589285#M86585</link>
      <description>&lt;P&gt;I change the vertex using two graphic layers one for polyline and other for custom vertex, may be it is not the best way to do it, but for now it is the only way i can find to do this.&lt;BR /&gt;&lt;BR /&gt;here is the code in codepen&lt;BR /&gt;&lt;A href="https://codepen.io/ayaxcphb-the-decoder/pen/ByaLRJq" target="_blank"&gt;https://codepen.io/ayaxcphb-the-decoder/pen/ByaLRJq&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MirzaMuhammadAhsanAli_0-1740550223216.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/126261iB6D9FEC241D648AB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MirzaMuhammadAhsanAli_0-1740550223216.png" alt="MirzaMuhammadAhsanAli_0-1740550223216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 06:11:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-change-the-vertex-of-the-polyline-using/m-p/1589285#M86585</guid>
      <dc:creator>MirzaMuhammadAhsanAli</dc:creator>
      <dc:date>2025-02-26T06:11:35Z</dc:date>
    </item>
  </channel>
</rss>

