<?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: Issue  when the app attempts to update the compass heading. in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-when-the-app-attempts-to-update-the-compass/m-p/1585119#M13285</link>
    <description>&lt;P&gt;Thanks for sharing the stack trace!&amp;nbsp; We might need some more information to narrow down the problem though.&lt;/P&gt;&lt;P&gt;Are you able to log the type of this exception (e.g. InvalidOperationException or ArcGISRuntimeException) and the exception message?&lt;/P&gt;&lt;P&gt;Also, does the app actually call Dispose on the MapView, or interact with LocationDisplay or SystemLocationDataSource before navigating away from the page?&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2025 19:25:30 GMT</pubDate>
    <dc:creator>MatveiStefarov</dc:creator>
    <dc:date>2025-02-13T19:25:30Z</dc:date>
    <item>
      <title>Issue  when the app attempts to update the compass heading.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-when-the-app-attempts-to-update-the-compass/m-p/1584821#M13283</link>
      <description>&lt;P&gt;Hello we have many technicians who use our application in the field and often this error happens and the app crashes.&amp;nbsp;The map is displayed on a page, we use shape files, the error&amp;nbsp; occur when the page is closed. We have never been able to replicate the case, but it happens to technicians very often.&amp;nbsp; Below the stack trace.&lt;/P&gt;&lt;P&gt;Esri.ArcGISRuntime.ArcGISException.HandleCoreError(CoreError error, Boolean throwException) at RuntimeCoreNet.GeneratedWrappers.Interop.CheckError(IntPtr , Boolean , GCHandle ) at RuntimeCoreNet.GeneratedWrappers.CoreLocationDataSource.UpdateHeading(Double ) at Esri.ArcGISRuntime.Location.LocationDataSource.UpdateHeading(Double ) at Esri.ArcGISRuntime.Location.SystemLocationDataSource.CompassProvider_HeadingChanged(Object sender, Double heading) at Esri.ArcGISRuntime.Location.CompassProvider.OnHeadingChanged(Double ) at Esri.ArcGISRuntime.Internal.Geolocator.LocationManager_UpdatedHeading(Object sender, CLHeadingUpdatedEventArgs e) at CoreLocation.CLLocationManager._CLLocationManagerDelegate.UpdatedHeading(CLLocationManager , CLHeading )&lt;/P&gt;&lt;P&gt;when we close the page , we execute this code&amp;nbsp;&lt;/P&gt;&lt;P&gt;public void DisposeMapObjects(MapView mapView)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; mapView.Map.OperationalLayers.Clear();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;Other informations, the operative system is Ios, and the version we are currently use of esri runtime is 200.5.0&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 10:43:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-when-the-app-attempts-to-update-the-compass/m-p/1584821#M13283</guid>
      <dc:creator>robymun</dc:creator>
      <dc:date>2025-02-13T10:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue  when the app attempts to update the compass heading.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-when-the-app-attempts-to-update-the-compass/m-p/1585119#M13285</link>
      <description>&lt;P&gt;Thanks for sharing the stack trace!&amp;nbsp; We might need some more information to narrow down the problem though.&lt;/P&gt;&lt;P&gt;Are you able to log the type of this exception (e.g. InvalidOperationException or ArcGISRuntimeException) and the exception message?&lt;/P&gt;&lt;P&gt;Also, does the app actually call Dispose on the MapView, or interact with LocationDisplay or SystemLocationDataSource before navigating away from the page?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 19:25:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-when-the-app-attempts-to-update-the-compass/m-p/1585119#M13285</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2025-02-13T19:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue  when the app attempts to update the compass heading.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/issue-when-the-app-attempts-to-update-the-compass/m-p/1585398#M13288</link>
      <description>&lt;P&gt;yes, user can&amp;nbsp;&lt;SPAN&gt;interact whit&amp;nbsp;LocationDisplay when map is displayed ,&amp;nbsp;&lt;/SPAN&gt;today we released a new version and before going to close the page, we put LocationDisplay.IsEnabled = false and this seems to have solved the problem&lt;/P&gt;&lt;P&gt;thanks for the support&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 09:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/issue-when-the-app-attempts-to-update-the-compass/m-p/1585398#M13288</guid>
      <dc:creator>robymun</dc:creator>
      <dc:date>2025-02-14T09:19:17Z</dc:date>
    </item>
  </channel>
</rss>

