<?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 100.5: SketchEditor EditConfiguration is null in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148993#M1678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starting at 100.5, the EditConfiguration of the SketchEditor of the MapView is null, which causes my 100.4 code to crash.&amp;nbsp; How can I get it to be populated so that I can manipulate it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Apr 2019 21:13:27 GMT</pubDate>
    <dc:creator>MarkCederholm</dc:creator>
    <dc:date>2019-04-15T21:13:27Z</dc:date>
    <item>
      <title>100.5: SketchEditor EditConfiguration is null</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148993#M1678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starting at 100.5, the EditConfiguration of the SketchEditor of the MapView is null, which causes my 100.4 code to crash.&amp;nbsp; How can I get it to be populated so that I can manipulate it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 21:13:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148993#M1678</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2019-04-15T21:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: 100.5: SketchEditor EditConfiguration is null</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148994#M1679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like I need to use a different overload of StartAsync and pass in the EditConfiguration.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 21:21:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148994#M1679</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2019-04-15T21:21:47Z</dc:date>
    </item>
    <item>
      <title>Re: 100.5: SketchEditor EditConfiguration is null</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148995#M1680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Mark!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each time StartAsync is called on the SketchEditor, it creates a default SketchEditConfiguration with parameters that make sense for that particular shape (e.g. circles are scaled in an aspect-ratio-preserving way, but ellipses are not). The intended use of EditConfiguration property is to override these defaults &lt;EM&gt;after&lt;/EM&gt; each StartAsync call, to modify the defaults based on context. Admittedly, this quirk was&amp;nbsp;not well-documented.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Previous versions of Runtime&amp;nbsp;set EditConfiguration property to a placeholder object between operations. Confusingly, modifying that object didn't actually have any effect on the next operation, because&amp;nbsp;calling&amp;nbsp;StartAsync just replaced the object with a new one.&amp;nbsp;Starting with Runtime 100.5,&amp;nbsp;this property is set to NULL between operations. This behavior change&amp;nbsp;draws attention to accidental misuse of this&amp;nbsp;API --&amp;nbsp;the&amp;nbsp;software affected by this change was already silently doing something&amp;nbsp;unexpected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To summarize, you can either&amp;nbsp;use&amp;nbsp;StartAsync overload which accepts a&amp;nbsp;SketchEditConfiguration parameter, or modify EditConfiguration &lt;EM&gt;after&lt;/EM&gt; calling StartAsync.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 22:25:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148995#M1680</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2019-04-15T22:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: 100.5: SketchEditor EditConfiguration is null</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148996#M1681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Huh, I thought my partial modes were working, but I guess I didn't explore thoroughly enough.&amp;nbsp; Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2019 22:30:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-5-sketcheditor-editconfiguration-is-null/m-p/148996#M1681</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2019-04-15T22:30:31Z</dc:date>
    </item>
  </channel>
</rss>

