<?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: my location widget scale problem in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830789#M8241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have been away from the office. trying today but Can't fint the code exemepl you put in the thred. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you mean the Widge.js in folder *\inetpub\wwwroot\WAB13DE\Kalmar\widgets\MyLocation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that correct ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Feb 2016 09:10:30 GMT</pubDate>
    <dc:creator>MathiasEriksson</dc:creator>
    <dc:date>2016-02-09T09:10:30Z</dc:date>
    <item>
      <title>my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830786#M8238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I have a my location widget that has the code. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "locateButton": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "geolocationOptions": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "timeout": 15000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "highlightLocation": true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "useTracking": true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "scale": 1200&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;the scale command give a perfect scale.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;but if I zoom in or out it resets after 15 sekund. ( I can change reset time to what ever I want)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I'm trying to get it to stay at the zoom lvl&amp;nbsp; the user sets after first positioning.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;If i remove scale is goes to maz zoom every 15 seconds&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I have try to use :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "locateButton": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "geolocationOptions": {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "timeout": 15000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "setScale": false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "highlightLocation": true,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "useTracking": true&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the it zooms in to max and stay the. I can't zoom out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any one have a any good input on this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Feb 2016 15:08:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830786#M8238</guid>
      <dc:creator>MathiasEriksson</dc:creator>
      <dc:date>2016-02-03T15:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830787#M8239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/175822" target="_blank"&gt;Mathias Eriksson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; If you only want the widget to zoom to the defined scale once and then allow the user to change the maps scale as desired from then on then Just add setScale = false in the onLocate function in the widget.js file (line 16):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onLocate: function(parameters) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.removeClass(this.placehoder, "locating");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (this.geoLocate.useTracking) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.addClass(this.placehoder, "tracking");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (parameters.error) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.error(parameters.error);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // new Message({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp;&amp;nbsp; message: this.nls.failureFinding
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; html.addClass(this.domNode, "onCenter");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.neverLocate = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.geoLocate.setScale = false;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:01:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830787#M8239</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830788#M8240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/175822"&gt;Mathias Eriksson&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Did this work for you?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 14:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830788#M8240</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-05T14:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830789#M8241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have been away from the office. trying today but Can't fint the code exemepl you put in the thred. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you mean the Widge.js in folder *\inetpub\wwwroot\WAB13DE\Kalmar\widgets\MyLocation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is that correct ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 09:10:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830789#M8241</guid>
      <dc:creator>MathiasEriksson</dc:creator>
      <dc:date>2016-02-09T09:10:30Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830790#M8242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mathias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; It is in the *\inetpub\wwwroot\WAB13DE\Kalmar\widgets\MyLocation\widget.js file. The onLocate function is what you are looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 13:24:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830790#M8242</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-09T13:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830791#M8243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Line 315 . {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; onLocate: function(e) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d.removeClass(this.placehoder, "locating");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.geoLocate.useTracking &amp;amp;&amp;amp; d.addClass(this.placehoder, "tracking");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.error ? console.error(e.error) : (d.addClass(this.domNode, "onCenter"), this.neverLocate = !1)} &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My don't look like yours. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 14:05:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830791#M8243</guid>
      <dc:creator>MathiasEriksson</dc:creator>
      <dc:date>2016-02-09T14:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830792#M8244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mathias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; That is because you are using the minified code version in that app and not the developer version. That is not an issue though just make it look like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onLocate: function(e) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d.removeClass(this.placehoder, "locating");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.geoLocate.useTracking &amp;amp;&amp;amp; d.addClass(this.placehoder, "tracking");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.error ? console.error(e.error) : (d.addClass(this.domNode, "onCenter"), this.neverLocate = !1)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword"&gt;this.geoLocate.setScale = &lt;SPAN class="keyword"&gt;false&lt;/SPAN&gt;;&lt;/SPAN&gt;} &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Feb 2016 14:12:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830792#M8244</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-09T14:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830793#M8245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that did onot work so well. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i add the code line my complete widget disapers. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 09:37:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830793#M8245</guid>
      <dc:creator>MathiasEriksson</dc:creator>
      <dc:date>2016-02-11T09:37:38Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830794#M8246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mathias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Try this then:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;onLocate: function(e) {&lt;/P&gt;&lt;P&gt;&lt;SPAN class="keyword"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.geoLocate.setScale = 0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d.removeClass(this.placehoder, "locating");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.geoLocate.useTracking &amp;amp;&amp;amp; d.addClass(this.placehoder, "tracking");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.error ? console.error(e.error) : (d.addClass(this.domNode, "onCenter"), this.neverLocate = !1)} &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 13:06:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830794#M8246</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-11T13:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830795#M8247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did not help that either. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: Calibri, sans-serif; font-size: 14.6667px;"&gt;app.sandbyborg.se&amp;nbsp; Here you can se the app online and IO can send the complete code to you if you like to see so I did not make any misstake. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 08:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830795#M8247</guid>
      <dc:creator>MathiasEriksson</dc:creator>
      <dc:date>2016-02-15T08:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830796#M8248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mathias,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Looks like you are missing the nls folder or just the strings.js file in that folder from your my location widget. That is the most serious issue. Next I am not good at minified code editing but the change I would suggest is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this.geoLocate.setScale = !1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt; I made a correction to my earlier code and tested this on a minified WAB App I downloaded from AGOL and it worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 15:53:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830796#M8248</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-15T15:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830797#M8249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/175822"&gt;Mathias Eriksson&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See my above edit and info about missing file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Feb 2016 21:12:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830797#M8249</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-15T21:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830798#M8250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the correct code should be somthing like this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; onLocate: function(e) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.geoLocate.setScale = !1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; d.removeClass(this.placehoder, "locating");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; this.geoLocate.useTracking &amp;amp;&amp;amp; d.addClass(this.placehoder, "tracking");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.error ? console.error(e.error) : (d.addClass(this.domNode, "onCenter"), this.neverLocate = !1)}&lt;/P&gt;&lt;P&gt;},&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IS tha correct ? &lt;/P&gt;&lt;P&gt;I'm reinstalling my webserver but will try this in a few hours. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 08:36:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830798#M8250</guid>
      <dc:creator>MathiasEriksson</dc:creator>
      <dc:date>2016-02-16T08:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830799#M8251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:10:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830799#M8251</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-16T13:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830800#M8252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;should I still have scale command in config_my Location.json&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I still only get to the loading screen. and the widget donät show up. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:17:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830800#M8252</guid>
      <dc:creator>MathiasEriksson</dc:creator>
      <dc:date>2016-02-16T13:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830801#M8253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes you should have the scale set in the config_my Location.json. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I look at your site: &lt;A href="http://app.sandbyborg.se/widgets/MyLocation/Widget.js" title="http://app.sandbyborg.se/widgets/MyLocation/Widget.js"&gt;http://app.sandbyborg.se/widgets/MyLocation/Widget.js&lt;/A&gt;&amp;nbsp; I do not see the change to the onLocate function included.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:39:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830801#M8253</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-16T13:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: my location widget scale problem</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830802#M8254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not uploaded to that site yet. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 13:41:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/my-location-widget-scale-problem/m-p/830802#M8254</guid>
      <dc:creator>MathiasEriksson</dc:creator>
      <dc:date>2016-02-16T13:41:23Z</dc:date>
    </item>
  </channel>
</rss>

