<?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: How to set zoom level for search results with a polygon Feature Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388815#M35884</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roxanne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Yes it will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var search = new Search({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autoNavigate: false
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, "search");&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 17:51:11 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2021-12-11T17:51:11Z</dc:date>
    <item>
      <title>How to set zoom level for search results with a polygon Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388811#M35880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using 3.16 API to create an application that searches our local parcel layers using a custom search - I am quite new at Java Script. The layer is a polygon Feature Layer. I am only finding information that tells you how to set the zoomLevel using points - is it not possible to create a custom zoom extent for polygon Feature Layers?&amp;nbsp; I would like it to not zoom in nearly as far as it does as the output we want to see would be in relation to other buildings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 17:25:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388811#M35880</guid>
      <dc:creator>KimberlyGraham1</dc:creator>
      <dc:date>2016-05-19T17:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to set zoom level for search results with a polygon Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388812#M35881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kimberly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Unfortunately the zoom for a feature that returns an extent is not configurable. You would have to turn off the autoNavigate and then add your own zooming logic to a custom select-result event handler.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 18:03:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388812#M35881</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-05-19T18:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to set zoom level for search results with a polygon Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388813#M35882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your response!&amp;nbsp; I figured it was something along those lines; unfortunately, that's a bit above me at the moment so we will just have to have our users manually zoom out until I can get figure out how to do all that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 18:30:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388813#M35882</guid>
      <dc:creator>KimberlyGraham1</dc:creator>
      <dc:date>2016-05-19T18:30:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to set zoom level for search results with a polygon Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388814#M35883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a somewhat followup question.&amp;nbsp; I have a map where I want residents to be able to search for their address and have it highlight in the map.&amp;nbsp; If I turn off that autoNavigate you mentioned above, that will stop the widget from zooming to the result?&amp;nbsp; How do I turn off the autoNavigate feature?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2016 16:32:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388814#M35883</guid>
      <dc:creator>RoxanneWilson</dc:creator>
      <dc:date>2016-06-10T16:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to set zoom level for search results with a polygon Feature Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388815#M35884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Roxanne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Yes it will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var search = new Search({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: map,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; autoNavigate: false
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, "search");&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:51:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-set-zoom-level-for-search-results-with-a/m-p/388815#M35884</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T17:51:11Z</dc:date>
    </item>
  </channel>
</rss>

