<?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 Scale range for HTML widget &amp;quot;Track current location&amp;quot; and &amp;quot;Locate button&amp;quot;? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-range-for-html-widget-quot-track-current/m-p/285698#M26332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/web-api/" style="color: #ff0000; font-weight: normal; text-decoration: none;"&gt;ArcGIS Web API&lt;/A&gt;&lt;A href="https://developers.arcgis.com/javascript/" style="color: #ff0000; font-weight: normal; text-decoration: none;"&gt;JavaScript API&lt;/A&gt;&lt;A href="https://developers.arcgis.com/javascript/index.html" style="color: #ff0000; font-weight: normal; text-decoration: none;"&gt;4.4&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be the next two widget in the developer I could not find.&lt;BR /&gt;I would like to define the zoom level or the scale range of the result.&lt;BR /&gt;With what command would this work?&lt;BR /&gt;Because of the mobile phone and the vehicle I see the houses and by walking then the village ...&lt;BR /&gt;Go with me not so completely, enclosed the two links directly to the Developers pages:&lt;/P&gt;&lt;H2 style="color: #4c4c4c; font-weight: 300; font-size: 1.9994rem; margin: 0px 0px 1.55rem;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-track-basic/index.html"&gt;Track current location&lt;/A&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-locate/index.html"&gt;Locate button&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Thanks for the help and support!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Code exempel:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt; &amp;lt;meta charset="utf-8"&amp;gt;&lt;BR /&gt; &amp;lt;meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Track current location - 4.4&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style&amp;gt;&lt;BR /&gt; html,&lt;BR /&gt; body,&lt;BR /&gt; #viewDiv {&lt;BR /&gt; padding: 0;&lt;BR /&gt; margin: 0;&lt;BR /&gt; height: 100%;&lt;BR /&gt; width: 100%;&lt;BR /&gt; }&lt;BR /&gt; &amp;lt;/style&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.4%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.4/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.4%2F" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.4/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt; require([&lt;BR /&gt; "esri/widgets/Track",&lt;BR /&gt; "esri/views/MapView",&lt;BR /&gt; "esri/Map",&lt;BR /&gt; "dojo/domReady!"&lt;BR /&gt; ], function(&lt;BR /&gt; Track, MapView, Map&lt;BR /&gt; ) {&lt;/P&gt;&lt;P&gt;var map = new Map({&lt;BR /&gt; basemap: "topo"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;var view = new MapView({&lt;BR /&gt; map: map,&lt;BR /&gt; container: "viewDiv"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// Create an instance of the Track widget&lt;BR /&gt; // and add it to the view's UI&lt;BR /&gt; var track = new Track({&lt;BR /&gt; view: view&lt;BR /&gt; });&lt;BR /&gt; view.ui.add(track, "top-left");&lt;/P&gt;&lt;P&gt;// The sample will start tracking your location&lt;BR /&gt; // once the view becomes ready&lt;BR /&gt; view.then(function() {&lt;BR /&gt; track.start();&lt;BR /&gt; });&lt;BR /&gt; });&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;div id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Aug 2017 05:04:14 GMT</pubDate>
    <dc:creator>MikeSchudel</dc:creator>
    <dc:date>2017-08-18T05:04:14Z</dc:date>
    <item>
      <title>Scale range for HTML widget "Track current location" and "Locate button"?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-range-for-html-widget-quot-track-current/m-p/285698#M26332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;A href="https://developers.arcgis.com/web-api/" style="color: #ff0000; font-weight: normal; text-decoration: none;"&gt;ArcGIS Web API&lt;/A&gt;&lt;A href="https://developers.arcgis.com/javascript/" style="color: #ff0000; font-weight: normal; text-decoration: none;"&gt;JavaScript API&lt;/A&gt;&lt;A href="https://developers.arcgis.com/javascript/index.html" style="color: #ff0000; font-weight: normal; text-decoration: none;"&gt;4.4&lt;/A&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be the next two widget in the developer I could not find.&lt;BR /&gt;I would like to define the zoom level or the scale range of the result.&lt;BR /&gt;With what command would this work?&lt;BR /&gt;Because of the mobile phone and the vehicle I see the houses and by walking then the village ...&lt;BR /&gt;Go with me not so completely, enclosed the two links directly to the Developers pages:&lt;/P&gt;&lt;H2 style="color: #4c4c4c; font-weight: 300; font-size: 1.9994rem; margin: 0px 0px 1.55rem;"&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-track-basic/index.html"&gt;Track current location&lt;/A&gt;&lt;/SPAN&gt;&lt;/H2&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-locate/index.html"&gt;Locate button&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Thanks for the help and support!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Mike&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Code exempel:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;head&amp;gt;&lt;BR /&gt; &amp;lt;meta charset="utf-8"&amp;gt;&lt;BR /&gt; &amp;lt;meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"&amp;gt;&lt;BR /&gt; &amp;lt;title&amp;gt;Track current location - 4.4&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style&amp;gt;&lt;BR /&gt; html,&lt;BR /&gt; body,&lt;BR /&gt; #viewDiv {&lt;BR /&gt; padding: 0;&lt;BR /&gt; margin: 0;&lt;BR /&gt; height: 100%;&lt;BR /&gt; width: 100%;&lt;BR /&gt; }&lt;BR /&gt; &amp;lt;/style&amp;gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.4%2Fesri%2Fcss%2Fmain.css" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.4/esri/css/main.css&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fjs.arcgis.com%2F4.4%2F" rel="nofollow" target="_blank"&gt;https://js.arcgis.com/4.4/&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;BR /&gt; require([&lt;BR /&gt; "esri/widgets/Track",&lt;BR /&gt; "esri/views/MapView",&lt;BR /&gt; "esri/Map",&lt;BR /&gt; "dojo/domReady!"&lt;BR /&gt; ], function(&lt;BR /&gt; Track, MapView, Map&lt;BR /&gt; ) {&lt;/P&gt;&lt;P&gt;var map = new Map({&lt;BR /&gt; basemap: "topo"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;var view = new MapView({&lt;BR /&gt; map: map,&lt;BR /&gt; container: "viewDiv"&lt;BR /&gt; });&lt;/P&gt;&lt;P&gt;// Create an instance of the Track widget&lt;BR /&gt; // and add it to the view's UI&lt;BR /&gt; var track = new Track({&lt;BR /&gt; view: view&lt;BR /&gt; });&lt;BR /&gt; view.ui.add(track, "top-left");&lt;/P&gt;&lt;P&gt;// The sample will start tracking your location&lt;BR /&gt; // once the view becomes ready&lt;BR /&gt; view.then(function() {&lt;BR /&gt; track.start();&lt;BR /&gt; });&lt;BR /&gt; });&lt;BR /&gt; &amp;lt;/script&amp;gt;&lt;BR /&gt; &amp;lt;div id="viewDiv"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;lt;/body&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Aug 2017 05:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/scale-range-for-html-widget-quot-track-current/m-p/285698#M26332</guid>
      <dc:creator>MikeSchudel</dc:creator>
      <dc:date>2017-08-18T05:04:14Z</dc:date>
    </item>
  </channel>
</rss>

