<?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: Bug in Draw.UndoLastVertex ? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751420#M19238</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Only need to call this twice for polygons. For polylines it works just fine the first time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2012 19:40:09 GMT</pubDate>
    <dc:creator>JoshPorter</dc:creator>
    <dc:date>2012-08-10T19:40:09Z</dc:date>
    <item>
      <title>Bug in Draw.UndoLastVertex ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751419#M19237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The first call to undo last vertex does nothing, and calling it a second time actually removes the last vertex.&amp;nbsp; Has anyone else noticed this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To confirm the number of vertices in the shape being drawn, i am incrementing a counter in the Draw.VertexAdded event handler. The counter is incrementing as one would expect, at every click or call to AddVertex while the Draw object IsEnabled. But the call to UndoLastVertex consistently takes two calls to remove one vertex.&amp;nbsp; Can anyone confirm this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 19:07:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751419#M19237</guid>
      <dc:creator>JoshPorter</dc:creator>
      <dc:date>2012-08-10T19:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Draw.UndoLastVertex ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751420#M19238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Only need to call this twice for polygons. For polylines it works just fine the first time.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2012 19:40:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751420#M19238</guid>
      <dc:creator>JoshPorter</dc:creator>
      <dc:date>2012-08-10T19:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Draw.UndoLastVertex ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751421#M19239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you ever get any response to your question? or develop a work around? I am seeing the same behavior for polygons (not polylines).&amp;nbsp;&amp;nbsp; I am using version 3.0.0.388 of the Silverlight client library.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Dec 2012 22:20:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751421#M19239</guid>
      <dc:creator>TomRippetoe</dc:creator>
      <dc:date>2012-12-28T22:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Draw.UndoLastVertex ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751422#M19240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for reporting this issue, we'll try to get it fixed in a future version.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 11:59:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751422#M19240</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-01-04T11:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in Draw.UndoLastVertex ?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751423#M19241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to update: seems to me this bug still exists (API version 3.0). At least for my application the workaround was to simply check EditMode and call undo twice for polygons.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;this.MeasureDrawObject.UndoLastVertex();
if (this.MeasureDrawObject.DrawMode==DrawMode.Polygon)&amp;nbsp; //BUG: polygons need two calls
{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.MeasureDrawObject.UndoLastVertex();
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Samuli N.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 07:54:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-draw-undolastvertex/m-p/751423#M19241</guid>
      <dc:creator>samulineuvonen</dc:creator>
      <dc:date>2021-12-12T07:54:18Z</dc:date>
    </item>
  </channel>
</rss>

