<?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: ANR/Crash in Geometry Editor insertVertex during Location Updates in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1657737#M604</link>
    <description>&lt;P&gt;How many vertices does your resulting geometry have?&lt;/P&gt;&lt;P&gt;The geometry editor supports editing a geometry with a few thousand vertices, but the performance decreases when the number of vertices increases.&lt;BR /&gt;&lt;BR /&gt;Your issue might be that you are trying to insert vertices faster than the editor can process them.&lt;/P&gt;&lt;P&gt;To ensure stability and maintain acceptable performance, you might limit the rate of vertex insertion by implementing a &lt;STRONG&gt;1-second cooldown/timer&lt;/STRONG&gt; between insertions.&lt;/P&gt;&lt;P&gt;Is limiting the vertex insertion frequency to approximately &lt;STRONG&gt;one per second&lt;/STRONG&gt; an acceptable constraint for your specific use case?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Oct 2025 16:24:40 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2025-10-14T16:24:40Z</dc:date>
    <item>
      <title>ANR/Crash in Geometry Editor insertVertex during Location Updates</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1654632#M600</link>
      <description>&lt;P&gt;Hi Community, &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We're experiencing an &lt;STRONG&gt;ANR&lt;/STRONG&gt; and subsequent crash in our Android app, which appears to be triggered by a call to the geometry editor function &lt;FONT face="terminal,monaco"&gt;&lt;STRONG&gt;insertVertex&lt;/STRONG&gt;&lt;/FONT&gt; when we try to add a point during &lt;EM&gt;live location updates&lt;/EM&gt;. In our use case, users could be driving, and their location is updated every 3 meters. Since we can't know how fast a user might be moving, we end up with many frequent location updates—each one triggering a call to&amp;nbsp;&lt;FONT face="terminal,monaco"&gt;&lt;STRONG&gt;insertVertex&lt;/STRONG&gt;&lt;/FONT&gt;, which we suspect may be blocking the &lt;EM&gt;main thread&lt;/EM&gt; and causing the &lt;STRONG&gt;ANR&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Has anyone encountered similar issues with geometry editor during frequent live location updates? Are there best practices or recommended approaches for handling high-frequency vertex insertion without risking UI freezes or crashes?&lt;/P&gt;&lt;P&gt;Any advice or suggestions would be greatly appreciated!&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;SDK Version: 200.7.0&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2025 20:21:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1654632#M600</guid>
      <dc:creator>NicoleLeiva25</dc:creator>
      <dc:date>2025-10-01T20:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: ANR/Crash in Geometry Editor insertVertex during Location Updates</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1657737#M604</link>
      <description>&lt;P&gt;How many vertices does your resulting geometry have?&lt;/P&gt;&lt;P&gt;The geometry editor supports editing a geometry with a few thousand vertices, but the performance decreases when the number of vertices increases.&lt;BR /&gt;&lt;BR /&gt;Your issue might be that you are trying to insert vertices faster than the editor can process them.&lt;/P&gt;&lt;P&gt;To ensure stability and maintain acceptable performance, you might limit the rate of vertex insertion by implementing a &lt;STRONG&gt;1-second cooldown/timer&lt;/STRONG&gt; between insertions.&lt;/P&gt;&lt;P&gt;Is limiting the vertex insertion frequency to approximately &lt;STRONG&gt;one per second&lt;/STRONG&gt; an acceptable constraint for your specific use case?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Oct 2025 16:24:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1657737#M604</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2025-10-14T16:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: ANR/Crash in Geometry Editor insertVertex during Location Updates</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1662051#M622</link>
      <description>&lt;P&gt;Hi, &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2880"&gt;@DominiqueBroux&lt;/a&gt;&amp;nbsp;! Thanks for getting back to me!&lt;/P&gt;&lt;P&gt;The resulting geometry ended up having more than 5,000 points before it crashed.&lt;BR /&gt;Yes, we’re aware of the performance impact as well.&lt;/P&gt;&lt;P&gt;While reviewing this issue, we also fixed our logic to ensure we respect the 1-second interval per point insertion. So I think we’re in good shape now and the user reported that it’s working better.&lt;/P&gt;&lt;P&gt;Thanks for your recommendation! &lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 20:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1662051#M622</guid>
      <dc:creator>NicoleLeiva25</dc:creator>
      <dc:date>2025-10-29T20:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: ANR/Crash in Geometry Editor insertVertex during Location Updates</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1662227#M623</link>
      <description>&lt;P&gt;Glad the workaround is working for you&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 15:08:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/anr-crash-in-geometry-editor-insertvertex-during/m-p/1662227#M623</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2025-10-30T15:08:33Z</dc:date>
    </item>
  </channel>
</rss>

