<?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: Map components Search zoom scale? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602038#M86805</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294090"&gt;@JaredPilbeam2&lt;/a&gt;,&amp;nbsp;you may need to use the widget property to do that currently. We're in a transition process with components and widgets. I believe you want the goToOverride property,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#goToOverride" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#goToOverride&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Apr 2025 20:56:57 GMT</pubDate>
    <dc:creator>Noah-Sager</dc:creator>
    <dc:date>2025-04-02T20:56:57Z</dc:date>
    <item>
      <title>Map components Search zoom scale?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1601961#M86801</link>
      <description>&lt;P&gt;I don't see a way to control the zoom? I don't see a &lt;A href="https://developers.arcgis.com/javascript/latest/references/map-components/arcgis-search/" target="_self"&gt;property&lt;/A&gt; to do so. This has no effect:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;arcgis-search position="top-left" zoom="10"&amp;gt;&amp;lt;/arcgis-search&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 18:23:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1601961#M86801</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-04-02T18:23:39Z</dc:date>
    </item>
    <item>
      <title>Re: Map components Search zoom scale?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1601970#M86802</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294090"&gt;@JaredPilbeam2&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search-SearchSource.html#zoomScale" target="_self"&gt;zoomScale&lt;/A&gt; is set in the zoom components sources property&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;arcgis-search id="search" position="top-right"&amp;gt;&amp;lt;/arcgis-search&amp;gt;

&amp;lt;script type="module"&amp;gt;
  const searchElement = document.getElementById("search");
  searchElement.addEventListener("arcgisReady", () =&amp;gt; {
    searchElement.sources = [
      {
        url:
        "https://geocode-api.arcgis.com/arcgis/rest/services/World/GeocodeServer",
        name: "LocatorSearchSource",
        zoomScale: 1000000
      }
    ];
  });
&amp;lt;/script&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 18:48:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1601970#M86802</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2025-04-02T18:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Map components Search zoom scale?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602003#M86803</link>
      <description>&lt;P&gt;Thanks for the reply. That doesn't seem to have any effect on the zoom either? And it's asking me to sign in. Does it need a token? &lt;A href="https://codepen.io/underjollyroger/pen/xbxyOYe" target="_self"&gt;Sample&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 19:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602003#M86803</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-04-02T19:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Map components Search zoom scale?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602028#M86804</link>
      <description>&lt;P&gt;Yeah i think that service does require a token or to sign in, I just copied it from the doc and didn't try and run it.&amp;nbsp; I see a few layerview creation errors in your codepen, but I don't think that would affect the search.&amp;nbsp; I'm not sure what's going on I'll have to look into it more closely&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 20:34:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602028#M86804</guid>
      <dc:creator>Sage_Wall</dc:creator>
      <dc:date>2025-04-02T20:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Map components Search zoom scale?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602038#M86805</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/294090"&gt;@JaredPilbeam2&lt;/a&gt;,&amp;nbsp;you may need to use the widget property to do that currently. We're in a transition process with components and widgets. I believe you want the goToOverride property,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#goToOverride" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Search.html#goToOverride&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 20:56:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602038#M86805</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2025-04-02T20:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Map components Search zoom scale?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602044#M86806</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/169842"&gt;@Noah-Sager&lt;/a&gt;,&amp;nbsp;yes I am aware of the transition. My goal here is just that. I'm creating an app using components, not widgets, to get a leg-up on my functioning custom apps that will need transitioning.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 21:03:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602044#M86806</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2025-04-02T21:03:57Z</dc:date>
    </item>
    <item>
      <title>Re: Map components Search zoom scale?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602104#M86807</link>
      <description>&lt;P&gt;You can do this by listening for the sources collection to &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#event-change" target="_blank" rel="noopener"&gt;change&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/odoe/pen/gbOqrXv?editors=1000" target="_blank"&gt;https://codepen.io/odoe/pen/gbOqrXv?editors=1000&lt;/A&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const searchElement = document.querySelector("arcgis-search");
// component loaded, might still be loading data
await searchElement.componentOnReady();

searchElement.allSources.on("change", () =&amp;gt; {
  searchElement.allSources.forEach((source) =&amp;gt; {
    source.zoomScale = 100000;
  });
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Apr 2025 22:43:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-components-search-zoom-scale/m-p/1602104#M86807</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2025-04-02T22:43:46Z</dc:date>
    </item>
  </channel>
</rss>

