<?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 JS LocateButton issues when enabling or disabling GPS during &amp;quot;runtime&amp;quot; in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-locatebutton-issues-when-enabling-or-disabling/m-p/360574#M33418</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;First off, Im uncertain im writing in the right "forum" its a bit new to me, excuse my ignorance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the problem im having is that i've implemented the LocateButton from esri and&lt;/P&gt;&lt;P&gt;1. if i dont have the GPS turned on when the app is started, meaning i turn it on after the LocateButton has been initialized etc. the "locate" event reports only error of something in the lines of "User denied location service". &lt;/P&gt;&lt;P&gt;2. And if i stop the GPS during application runtime (being previously turned on) i get the msg "Timeout expired". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i "reboot" LocateButton to start accepting new GPS states?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 Jul 2015 10:41:28 GMT</pubDate>
    <dc:creator>MatejSkerjanc</dc:creator>
    <dc:date>2015-07-31T10:41:28Z</dc:date>
    <item>
      <title>JS LocateButton issues when enabling or disabling GPS during "runtime"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-locatebutton-issues-when-enabling-or-disabling/m-p/360574#M33418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;First off, Im uncertain im writing in the right "forum" its a bit new to me, excuse my ignorance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the problem im having is that i've implemented the LocateButton from esri and&lt;/P&gt;&lt;P&gt;1. if i dont have the GPS turned on when the app is started, meaning i turn it on after the LocateButton has been initialized etc. the "locate" event reports only error of something in the lines of "User denied location service". &lt;/P&gt;&lt;P&gt;2. And if i stop the GPS during application runtime (being previously turned on) i get the msg "Timeout expired". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i "reboot" LocateButton to start accepting new GPS states?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Matej&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 10:41:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-locatebutton-issues-when-enabling-or-disabling/m-p/360574#M33418</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2015-07-31T10:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: JS LocateButton issues when enabling or disabling GPS during "runtime"</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-locatebutton-issues-when-enabling-or-disabling/m-p/360575#M33419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just emitting "load" works ( for issue 2 only)...still seems unsafe and unsatisfactory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jul 2015 11:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/js-locatebutton-issues-when-enabling-or-disabling/m-p/360575#M33419</guid>
      <dc:creator>MatejSkerjanc</dc:creator>
      <dc:date>2015-07-31T11:22:14Z</dc:date>
    </item>
  </channel>
</rss>

