<?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: Move the default ESRI world geocoder to the end of the list of sources for search  in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368057#M34108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the following thread - &lt;A href="https://community.esri.com/thread/162588"&gt;Disable ESRI World Geocoder from Search Bar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I provided an example of how to remove the Esri World Geocoder - I believe you can just add the Esri world geocoder source at the end of the sources array and it should show-up in that order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll see if I can put-together a jsfiddle...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Aug 2015 16:09:41 GMT</pubDate>
    <dc:creator>ChrisSmith7</dc:creator>
    <dc:date>2015-08-19T16:09:41Z</dc:date>
    <item>
      <title>Move the default ESRI world geocoder to the end of the list of sources for search</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368056#M34107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to move the ESRI world geocoder&amp;nbsp; to the bottom of my list sources for the search function, I believe the it is the first one in &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;the sources array by default (Esri World Locator), as mentioned by &lt;A href="https://community.esri.com/migration-blogpost/1901"&gt;Kelly Hutchins's Blog&lt;/A&gt;&amp;nbsp; in this thread,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/message/517562#517562"&gt;https://community.esri.com/message/517562#517562&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have added four sources to the search function and I want to change the order so that ESRI world geocoder shows up at the end,&lt;/P&gt;&lt;P&gt;I tried this changing the number in the array,&lt;/P&gt;&lt;P&gt;sources: [4], it did not work&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/122964_pastedImage_5.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Any help or suggestions will be great!&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 15:58:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368056#M34107</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2015-08-19T15:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Move the default ESRI world geocoder to the end of the list of sources for search</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368057#M34108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have a look at the following thread - &lt;A href="https://community.esri.com/thread/162588"&gt;Disable ESRI World Geocoder from Search Bar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I provided an example of how to remove the Esri World Geocoder - I believe you can just add the Esri world geocoder source at the end of the sources array and it should show-up in that order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll see if I can put-together a jsfiddle...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 16:09:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368057#M34108</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-08-19T16:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: Move the default ESRI world geocoder to the end of the list of sources for search</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368058#M34109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sources.push({
&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; geocoder: new Geocoder("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Geocode_USA/GeocodeServer" target="_blank"&gt;https://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Locators/ESRI_Geocode_USA/GeocodeServer&lt;/A&gt;&lt;SPAN&gt;"),&lt;/SPAN&gt;
&amp;nbsp; singleLineFieldName: "Single Line Input",
&amp;nbsp; outFields: ["Addr_type"],
&amp;nbsp; name: "ESRI World Geocoder",
&amp;nbsp; autoComplete: true,&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxResults: 6,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; maxSuggestions: 6,
&amp;nbsp; //locator.outSpatialReference = map.spatialReference;
&amp;nbsp; //},
&amp;nbsp; placeholder: "Find a place or address",
&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;&amp;nbsp;&amp;nbsp; //Set the sources above to the search widget
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s.set("sources", sources);


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s.startup();&lt;/PRE&gt;&lt;P&gt;I tried your suggestion, do I have it right?&lt;/P&gt;&lt;P&gt;because it is showing up in the drop down at the end of the list, but is not actually working.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368058#M34109</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2021-12-11T17:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Move the default ESRI world geocoder to the end of the list of sources for search</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368059#M34110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I wasn't successful, either, trying to load the source (commented-out code), but I did just reverse the array to show it's possible:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsfiddle.net/omLfvgbf/" title="http://jsfiddle.net/omLfvgbf/"&gt;multiple sources example - world geocoder at the end - JSFiddle&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/123033_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/123034_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 16:35:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368059#M34110</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2015-08-19T16:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Move the default ESRI world geocoder to the end of the list of sources for search</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368060#M34111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chris,&lt;/P&gt;&lt;P&gt;Yes, that worked, thanks. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2015 16:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/move-the-default-esri-world-geocoder-to-the-end-of/m-p/368060#M34111</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2015-08-19T16:45:14Z</dc:date>
    </item>
  </channel>
</rss>

