<?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: Dynamic line when drawing from one vertex to another in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489292#M5991</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In v100.3, SketchEditor was enhanced to show draw feedback, which allows you to see how the geometry will look like before the vertex is committed/inserted as you interactively drag it. Is this what you're looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="418499" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/418499_feedback.gif" /&gt;&lt;/P&gt;&lt;P&gt;The symbols to update if you don't like this default symbology is FeedbackFill/Line/VertexSymbol in SketchEditor.Style.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Aug 2018 17:52:59 GMT</pubDate>
    <dc:creator>JenniferNery</dc:creator>
    <dc:date>2018-08-10T17:52:59Z</dc:date>
    <item>
      <title>Dynamic line when drawing from one vertex to another</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489291#M5990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We would like the ability to see the line when connecting two vertices of a polygon (before creating the new vertex). Our old application using 10.2.7 seems to have this functionality but I can't find it using 100.1 does not. I have searched everywhere without any luck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to activate this functionality in the MapView or in the SketchEditor?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 13:05:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489291#M5990</guid>
      <dc:creator>BradyHoukom1</dc:creator>
      <dc:date>2018-08-10T13:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic line when drawing from one vertex to another</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489292#M5991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In v100.3, SketchEditor was enhanced to show draw feedback, which allows you to see how the geometry will look like before the vertex is committed/inserted as you interactively drag it. Is this what you're looking for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="418499" alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/418499_feedback.gif" /&gt;&lt;/P&gt;&lt;P&gt;The symbols to update if you don't like this default symbology is FeedbackFill/Line/VertexSymbol in SketchEditor.Style.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Aug 2018 17:52:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489292#M5991</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2018-08-10T17:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic line when drawing from one vertex to another</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489293#M5992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, not exactly what I was looking for. Let me clarify. I am looking for something similar to this but I mean while drawing the polygon, not editing it.&amp;nbsp;So let's say that I selected the first vertex, vertex 0, I would like to see a line while I am looking where to place the second vertex, vertex 1. Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2018 14:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489293#M5992</guid>
      <dc:creator>BradyHoukom1</dc:creator>
      <dc:date>2018-08-13T14:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic line when drawing from one vertex to another</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489294#M5993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see. You&amp;nbsp;can programmatically call insert or move vertex. Moving the selected vertex during MouseMove, ManipulationDelta, TouchMove, or any event you see fit, should show the connecting line between last committed vertex to where you're moving cursor/touch point to. Something like this, but you have to find the right condition that works for you to differentiate between insert/move.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;int&lt;/SPAN&gt; vertexCount &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;MouseMove &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;s&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; e&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IsEnabled &lt;SPAN class="operator token"&gt;||&lt;/SPAN&gt; MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Geometry &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; location &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;ScreenToLocation&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;e&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;GetPosition&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MyMapView&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Geometry &lt;SPAN class="keyword token"&gt;as&lt;/SPAN&gt; Polygon&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Parts&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;FirstOrDefault&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;?&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;PointCount &lt;SPAN class="operator token"&gt;&amp;lt;=&lt;/SPAN&gt; vertexCount&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;InsertVertexAfterSelectedVertex&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;location&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;SketchEditor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;MoveSelectedVertex&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;location&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

MyMapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GeoViewTapped &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;s&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; e&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vertexCount&lt;SPAN class="operator token"&gt;++&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489294#M5993</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T21:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic line when drawing from one vertex to another</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489295#M5994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome, I was hoping it would be a&amp;nbsp;property but this is simple enough. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 12:52:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489295#M5994</guid>
      <dc:creator>BradyHoukom1</dc:creator>
      <dc:date>2018-08-14T12:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic line when drawing from one vertex to another</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489296#M5995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am now getting&amp;nbsp;this issue&amp;nbsp;&lt;A href="https://community.esri.com/thread/219629"&gt;Completing the SketchEditor with a double click sometimes causes the application to crash&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the solution above along with attaching to the&amp;nbsp;&lt;SPAN&gt;GeoViewDoubleTapped&amp;nbsp;event to handle completing the draw action.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found that the GeoViewTapped event fires before GeoViewDoubleTapped (obviously). The issue that I am seeing is that InsertVertexAfterSelectedVertex is executed fine, then when the GeoViewDoubleTapped is fired it completes the sketch. Something with the runtime is taking so long to complete the&amp;nbsp;&lt;SPAN&gt;InsertVertexAfterSelectedVertex method call that the sketch actually completes before the vertex is added. Which causes the&amp;nbsp;error that is noted in the link above&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that if adding a vertex is asynchronous? If it is, then we need the ability to await that method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Sep 2018 01:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489296#M5995</guid>
      <dc:creator>BradyHoukom1</dc:creator>
      <dc:date>2018-09-07T01:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic line when drawing from one vertex to another</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489297#M5996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I replied to myself instead of you. I posted a response below that I am now getting a null reference exception.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 17:30:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/dynamic-line-when-drawing-from-one-vertex-to/m-p/489297#M5996</guid>
      <dc:creator>BradyHoukom1</dc:creator>
      <dc:date>2018-10-30T17:30:48Z</dc:date>
    </item>
  </channel>
</rss>

