<?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 Simulate AutoPanMode.Navigation while not navigating in Kotlin Maps SDK Questions</title>
    <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/simulate-autopanmode-navigation-while-not/m-p/1625103#M574</link>
    <description>&lt;P&gt;We use&amp;nbsp;LocationDisplayAutoPanMode.Navigation while we show navigation directions to a destination and it works fine.&lt;/P&gt;&lt;P&gt;Once reached there, the driver has the option to remain centered on the truck or free scroll the map.&lt;/P&gt;&lt;P&gt;The problem with AutoPan.Navigation while not navigating is that the maps spins North if the truck is stationary for a long time.&amp;nbsp;CompassNavigation mode is also not very smooth with the device we use.&lt;/P&gt;&lt;P&gt;The goal is to keep the truck icon (current location) lower than center on the screen and provide a glitch free map navigation like rotation and movement.&lt;/P&gt;&lt;P&gt;I see 2 options:&lt;/P&gt;&lt;P&gt;1. implement a custom autopan, similar to&amp;nbsp; recenter mode, that based on location changes viewport and keeps a normalized heading (don't use heading if speed less than X)&lt;/P&gt;&lt;P&gt;2. implement a custom datasource that wraps&amp;nbsp;SystemLocationDataSource and ignores heading resets (similar to 1)&lt;/P&gt;&lt;P&gt;Did anyone else face this? Any suggestions?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jun 2025 16:18:06 GMT</pubDate>
    <dc:creator>GabrielDogaru</dc:creator>
    <dc:date>2025-06-19T16:18:06Z</dc:date>
    <item>
      <title>Simulate AutoPanMode.Navigation while not navigating</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/simulate-autopanmode-navigation-while-not/m-p/1625103#M574</link>
      <description>&lt;P&gt;We use&amp;nbsp;LocationDisplayAutoPanMode.Navigation while we show navigation directions to a destination and it works fine.&lt;/P&gt;&lt;P&gt;Once reached there, the driver has the option to remain centered on the truck or free scroll the map.&lt;/P&gt;&lt;P&gt;The problem with AutoPan.Navigation while not navigating is that the maps spins North if the truck is stationary for a long time.&amp;nbsp;CompassNavigation mode is also not very smooth with the device we use.&lt;/P&gt;&lt;P&gt;The goal is to keep the truck icon (current location) lower than center on the screen and provide a glitch free map navigation like rotation and movement.&lt;/P&gt;&lt;P&gt;I see 2 options:&lt;/P&gt;&lt;P&gt;1. implement a custom autopan, similar to&amp;nbsp; recenter mode, that based on location changes viewport and keeps a normalized heading (don't use heading if speed less than X)&lt;/P&gt;&lt;P&gt;2. implement a custom datasource that wraps&amp;nbsp;SystemLocationDataSource and ignores heading resets (similar to 1)&lt;/P&gt;&lt;P&gt;Did anyone else face this? Any suggestions?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 16:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/simulate-autopanmode-navigation-while-not/m-p/1625103#M574</guid>
      <dc:creator>GabrielDogaru</dc:creator>
      <dc:date>2025-06-19T16:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Simulate AutoPanMode.Navigation while not navigating</title>
      <link>https://community.esri.com/t5/kotlin-maps-sdk-questions/simulate-autopanmode-navigation-while-not/m-p/1636196#M579</link>
      <description>&lt;P&gt;This sample demonstrates use of the FusedLocationDatasource and the &lt;A href="https://github.com/Esri/arcgis-maps-sdk-kotlin-samples/blob/main/samples/show-device-location-using-fused-location-data-source/src/main/java/com/esri/arcgismaps/sample/showdevicelocationusingfusedlocationdatasource/components/FusedLocationAndOrientationProvider.kt#L154" target="_self"&gt;FusedOrientationProvider&lt;/A&gt;, which should lead to a smoother compass experience&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 22:26:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/kotlin-maps-sdk-questions/simulate-autopanmode-navigation-while-not/m-p/1636196#M579</guid>
      <dc:creator>TrevorDraeseke</dc:creator>
      <dc:date>2025-07-24T22:26:34Z</dc:date>
    </item>
  </channel>
</rss>

