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. When the location display is first enabled by the application, it doesn't always display the valid locations coming in. 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:
_ld<SPAN class="punctuation token">.</SPAN>IsEnabled <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">false</SPAN><SPAN class="punctuation token">;</SPAN>
Thread<SPAN class="punctuation token">.</SPAN><SPAN class="token function">Sleep</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="number token">100</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
_ld<SPAN class="punctuation token">.</SPAN>IsEnabled <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">true</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Has anyone else seen this?