<?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: 100.1 External GPS Quirk in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55797#M591</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's hard to say. It could be the custom implementation. Can you share your GPS implementation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's another example of a custom GPS location provider for reference:&lt;BR /&gt;&lt;A href="https://github.com/dotMorten/NmeaParser/blob/ArcGISLocationProvider/src/SampleApp.Store/SampleApp.Store.Shared/NmeaProvider.cs"&gt;https://github.com/dotMorten/NmeaParser/blob/ArcGISLocationProvider/src/SampleApp.Store/SampleApp.Store.Shared/NmeaProvider.cs&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Aug 2017 23:06:09 GMT</pubDate>
    <dc:creator>dotMorten_esri</dc:creator>
    <dc:date>2017-08-28T23:06:09Z</dc:date>
    <item>
      <title>100.1 External GPS Quirk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55796#M590</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not all of my Runtime users have internal GPS yet, and while porting my serial GPS code from 10.2.7 to 100.1, I've noticed an odd quirk. &amp;nbsp;When the location display is first enabled by the application, it doesn't always display the valid locations coming in. &amp;nbsp;Disabling and re-enabling fixes the problem, so as a workaround I added this snippet after the first valid point is collected and sent to the display:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;_ld&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IsEnabled &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;false&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
Thread&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Sleep&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;100&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
_ld&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;IsEnabled &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone else seen this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 22:07:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55796#M590</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2021-12-10T22:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: 100.1 External GPS Quirk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55797#M591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's hard to say. It could be the custom implementation. Can you share your GPS implementation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's another example of a custom GPS location provider for reference:&lt;BR /&gt;&lt;A href="https://github.com/dotMorten/NmeaParser/blob/ArcGISLocationProvider/src/SampleApp.Store/SampleApp.Store.Shared/NmeaProvider.cs"&gt;https://github.com/dotMorten/NmeaParser/blob/ArcGISLocationProvider/src/SampleApp.Store/SampleApp.Store.Shared/NmeaProvider.cs&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Aug 2017 23:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55797#M591</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-08-28T23:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: 100.1 External GPS Quirk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55798#M592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure thing! &amp;nbsp;Here it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked&amp;nbsp;your 10.2.x sample ages&amp;nbsp;ago, and my 10.2.x version works fine. &amp;nbsp;However, I could not get your 100.x sample to work at all with my puck.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 14:25:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55798#M592</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2017-08-29T14:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: 100.1 External GPS Quirk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55799#M593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A few theories...&lt;/P&gt;&lt;P&gt;You might risk the device is getting started twice. The second call to InitializeAsync&amp;nbsp; should return the same task (you don't really need to use Task.Factory.StartNew though, since all your start code is synchronous).&lt;/P&gt;&lt;P&gt;Same goes for StopAsync&lt;/P&gt;&lt;P&gt;You're replacing the LocationChanged event. I'm not sure why you do that? The base event will raise when you call 'base.UpdateLocation'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm curious what problems you were having with the 100.x sample. Did you configure it with the right port settings?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 19:20:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55799#M593</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-08-29T19:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: 100.1 External GPS Quirk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55800#M594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use tasks to help keep the app from locking. &amp;nbsp;Good call on LocationChanged -- I was still thinking in terms of ILocationProvider. &amp;nbsp;Even after renaming it, though, the point display problem persists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re your example, I tracked it to horizontal accuracy is NaN, which the location constructor doesn't accept. &amp;nbsp;I ran into that problem myself, and substitute 0 on those occasions. &amp;nbsp;I updated the example on my end and it works now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 20:22:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55800#M594</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2017-08-29T20:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: 100.1 External GPS Quirk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55801#M595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to duplicate the problem with your example by setting AutoPan to "Recenter" and horizontal accuracy, speed, and course all to 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 22:06:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55801#M595</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2017-08-29T22:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: 100.1 External GPS Quirk</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55802#M596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like one workaround is to set the velocity to a non-zero number (e.g. 0.1). &amp;nbsp;Of course, that affects which symbol is displayed. &amp;nbsp;[If I set UseCourseSymbolOnMovement to false, the problem persists.]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Aug 2017 22:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/100-1-external-gps-quirk/m-p/55802#M596</guid>
      <dc:creator>MarkCederholm</dc:creator>
      <dc:date>2017-08-29T22:27:54Z</dc:date>
    </item>
  </channel>
</rss>

