<?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: Locate Button not showing up in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341875#M31614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad to help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please remember to click the check mark to signify your question was answered. This will help others when they search for this issue in the future. See &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/forums-mvp/"&gt;this page&lt;/A&gt;&lt;SPAN&gt; for more information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jun 2014 20:14:26 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2014-06-09T20:14:26Z</dc:date>
    <item>
      <title>Locate Button not showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341872#M31611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is my first JavaScript app, and it is fairly straigh forward. I have used the code samples to get to where I'm at. There are 2 layers in the map. User can identify features by clicking on them or by drawing a polygon. All that seems to work exactly as required. All I'm trying to add now is a Locate Button, but can't for the life of me figure out what I'm doing wrong. Very new to JavaScript so it might be a very simple issue...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[see attachment]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions would be greatly appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alok&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 19:49:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341872#M31611</guid>
      <dc:creator>asinha_ppc</dc:creator>
      <dc:date>2014-06-09T19:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Locate Button not showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341873#M31612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The aliases in your function need to be in the same order as the modules in your require statement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
require([
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/InfoTemplate",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/map",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/layers/FeatureLayer",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/symbols/SimpleFillSymbol",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/symbols/SimpleLineSymbol",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/tasks/query",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/toolbars/draw",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/dom",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/on",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/parser",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/_base/array",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/Color",
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:#ff0000;"&gt; "esri/dijit/LocateButton",&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "esri/SpatialReference",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dijit/form/Button",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/domReady!"
 ],
 function (
 InfoTemplate, Map, FeatureLayer, SimpleFillSymbol, SimpleLineSymbol, 
Query, Draw, dom, on, parser, arrayUtil, Color, LocateButton
 ) {&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Take a look at this &lt;/SPAN&gt;&lt;A href="http://blogs.esri.com/esri/arcgis/2013/10/14/the-abcs-of-amd/" rel="nofollow noopener noreferrer" target="_blank"&gt;blog&lt;/A&gt;&lt;SPAN&gt; for more information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:08:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341873#M31612</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T16:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Locate Button not showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341874#M31613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thats it?!? Thanks!!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 20:09:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341874#M31613</guid>
      <dc:creator>asinha_ppc</dc:creator>
      <dc:date>2014-06-09T20:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Locate Button not showing up</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341875#M31614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad to help. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please remember to click the check mark to signify your question was answered. This will help others when they search for this issue in the future. See &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/forums-mvp/"&gt;this page&lt;/A&gt;&lt;SPAN&gt; for more information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 20:14:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/locate-button-not-showing-up/m-p/341875#M31614</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-06-09T20:14:26Z</dc:date>
    </item>
  </channel>
</rss>

