<?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: Geocoder : Restrict Search to Map Extent in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443424#M11702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi-&amp;nbsp; I am looking for more detail about where and how to do this.&amp;nbsp; I have the same need for FL and am using WAB 1.2 search widget, but cannot find/understand where I am supposed to adjust the suffix.&amp;nbsp; I'm not a developer.&amp;nbsp; I started a new thread for this here:&amp;nbsp; &lt;A href="https://community.esri.com/message/556904"&gt;Limit extent of the ESRI geocoder in the Search widget of WAB 1.2.  &lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Oct 2015 14:21:14 GMT</pubDate>
    <dc:creator>AmyKnight</dc:creator>
    <dc:date>2015-10-02T14:21:14Z</dc:date>
    <item>
      <title>Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443414#M11692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Flex app, Locator widget, I could restrict the address searches to only within the overall extent of the map. As all of my searches happen within Tulsa, Oklahoma, I would LIKE to have my users only have to enter the address and not the City and State in order to run the geocoder. I've been digging around the config.json and such files trying to find out how to make this happen but no luck so far.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know if this is an option?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 15:34:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443414#M11692</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2014-11-05T15:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443415#M11693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; This should be what you are looking for (hopefully I have the extent of Tulsa correct):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14152041083122664 jive_text_macro" jivemacro_uid="_14152041083122664"&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "geocoder": {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "autoComplete": true,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "minCharacters": 3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "arcgisGeocoder": {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "placeholder": "Find address or place",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "searchExtent": {"xmin":-10738000,"ymin":4281800,"xmax":-10592000,"ymax":4344600,"spatialReference":{"wkid":102100}}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 16:15:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443415#M11693</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-05T16:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443416#M11694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I have had better luck using this json (suffix instead) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14152145742392315 jive_text_macro" jivemacro_uid="_14152145742392315"&gt;
&lt;P&gt;{&lt;/P&gt;
&lt;P&gt;&amp;nbsp; "geocoder": {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "autoComplete": true,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "minCharacters": 3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Esri World Geocoder",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "arcgisGeocoder": false,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "geocoders": [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "url": "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer" rel="nofollow" target="_blank"&gt;https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer&lt;/A&gt;&lt;SPAN&gt;",&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "name": "Esri World Geocoder",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "singleLineFieldName": "SingleLine",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "placeholder": "Find address or place",&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "suffix": " Tulsa, OK"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;/P&gt;
&lt;P&gt;&amp;nbsp; }&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Nov 2014 19:10:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443416#M11694</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-05T19:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443417#M11695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfection. Thank you kindly sir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Nov 2014 16:02:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443417#M11695</guid>
      <dc:creator>BrianO_keefe</dc:creator>
      <dc:date>2014-11-06T16:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443418#M11696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the "searchExtent", I tested in JS API, it looks like only take Extent Object, the way add "searchExtent" in json is not working. Need more changes in some .js file &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Jun 2015 00:54:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443418#M11696</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2015-06-11T00:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443419#M11697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Can we use suffix like you suggest here,&amp;nbsp; to limit search to a state in USA when using CountryCode, like this&amp;nbsp; "Texas, US" , right now it works fine, finding results only for USA, but want I the search within Texas only.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;s.set("sources", sources.reverse(), sources[4].countryCode = "US")
&lt;/PRE&gt;&lt;P&gt;search extent also works, but I am still getting some results from neighboring states, wanted to know if there was a way to refine it further.&lt;/P&gt;&lt;P&gt;Thank you.&lt;SPAN style="line-height: 1.5;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:50:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443419#M11697</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2021-12-11T19:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443420#M11698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saloni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This thread was dealing with the Geocoder. Your question has to do with the new Search Dijit it looks like the new Search dijits source does support the suffix property but I would think that "Texas, US" is incorrect and the suffix you would want and try would be "TX" (but I have no experience yet with the Search dijit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 18:03:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443420#M11698</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-08-27T18:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443421#M11699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply Robert.&lt;/P&gt;&lt;P&gt;I tried suffix: "TX, US", it did not work, also tried with USA instead of US.&lt;/P&gt;&lt;P&gt;Neither did this:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14406996348238262 jive_text_macro" data-renderedposition="71_8_912_16" jivemacro_uid="_14406996348238262" modifiedtitle="true"&gt;&lt;P&gt;s.set("sources", sources.reverse(), sources[4].countryCode = " TX, US");&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;Not sure if I have it right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 18:30:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443421#M11699</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2015-08-27T18:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443422#M11700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Saloni,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; No My advice was to leave this alone:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14407005097405155 jive_text_macro" data-renderedposition="92_8_912_16" jivemacro_uid="_14407005097405155"&gt;&lt;P&gt;s.set("sources", sources.reverse(), sources[4].countryCode = "US")&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And just add the "suffix" of&amp;nbsp; "TX" to your source 4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 18:36:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443422#M11700</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-08-27T18:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443423#M11701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Thanks, it worked!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2015 20:55:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443423#M11701</guid>
      <dc:creator>JssrRR</dc:creator>
      <dc:date>2015-08-27T20:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443424#M11702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi-&amp;nbsp; I am looking for more detail about where and how to do this.&amp;nbsp; I have the same need for FL and am using WAB 1.2 search widget, but cannot find/understand where I am supposed to adjust the suffix.&amp;nbsp; I'm not a developer.&amp;nbsp; I started a new thread for this here:&amp;nbsp; &lt;A href="https://community.esri.com/message/556904"&gt;Limit extent of the ESRI geocoder in the Search widget of WAB 1.2.  &lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 14:21:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443424#M11702</guid>
      <dc:creator>AmyKnight</dc:creator>
      <dc:date>2015-10-02T14:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Geocoder : Restrict Search to Map Extent</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443425#M11703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I now have an Enhanced Locate widget that allows for adress searches to be confined to the maps current extent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/docs/DOC-7046"&gt;Enhanced Locate Widget Version 1.2 - 10/2/2015&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Oct 2015 16:03:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/geocoder-restrict-search-to-map-extent/m-p/443425#M11703</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-10-02T16:03:13Z</dc:date>
    </item>
  </channel>
</rss>

