<?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 Location Widget Disabled in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-widget-disabled/m-p/1008644#M71083</link>
    <description>&lt;P&gt;I'm running an application on a local development server using the Javascript API v4.15.&amp;nbsp; The location widget is disabled, however. It reports a "&lt;SPAN&gt;Cannot locate when disabled" error when using debug tools.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Searching around, it seems that https needs to be enabled in order for browsers to support location services. The site is running with HTTPS.&lt;/P&gt;&lt;P&gt;I've tested by using the basic HTML5 geolocation tools (navigator.geolocation.getCurrentPosition)&amp;nbsp;and that works fine over HTTPS, it doesn't work if I access over HTTP (as expected).&lt;/P&gt;&lt;P&gt;Is there anything I'm overlooking?&lt;/P&gt;&lt;P&gt;SOLVED: Merely a typo on my part. Oops.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2020 19:41:32 GMT</pubDate>
    <dc:creator>Rob1</dc:creator>
    <dc:date>2020-12-11T19:41:32Z</dc:date>
    <item>
      <title>Location Widget Disabled</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-widget-disabled/m-p/1008644#M71083</link>
      <description>&lt;P&gt;I'm running an application on a local development server using the Javascript API v4.15.&amp;nbsp; The location widget is disabled, however. It reports a "&lt;SPAN&gt;Cannot locate when disabled" error when using debug tools.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Searching around, it seems that https needs to be enabled in order for browsers to support location services. The site is running with HTTPS.&lt;/P&gt;&lt;P&gt;I've tested by using the basic HTML5 geolocation tools (navigator.geolocation.getCurrentPosition)&amp;nbsp;and that works fine over HTTPS, it doesn't work if I access over HTTP (as expected).&lt;/P&gt;&lt;P&gt;Is there anything I'm overlooking?&lt;/P&gt;&lt;P&gt;SOLVED: Merely a typo on my part. Oops.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2020 19:41:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/location-widget-disabled/m-p/1008644#M71083</guid>
      <dc:creator>Rob1</dc:creator>
      <dc:date>2020-12-11T19:41:32Z</dc:date>
    </item>
  </channel>
</rss>

