<?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: Search widget+auto Navigate in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580667#M54178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; var searchWidget = new Search({&lt;/P&gt;&lt;P&gt;view: view,&lt;/P&gt;&lt;P&gt;allPlaceholder: "search...",&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; sources: [{&lt;BR /&gt; layer: new FeatureLayer({&lt;BR /&gt; url: "localhost:6080/arcgis/rest/services/city/FeatureServer/0",&lt;BR /&gt; outFields: ["*"],&lt;BR /&gt; &lt;BR /&gt; }),&lt;BR /&gt; searchFields: ["city"],&lt;BR /&gt; displayField: "city",&lt;BR /&gt; exactMatch: false,&lt;BR /&gt; outFields: ["city", "local"],&lt;BR /&gt; name: "city1",&lt;BR /&gt; placeholder: "search city...",&lt;/P&gt;&lt;P&gt;autoNavigate: true,&lt;/P&gt;&lt;P&gt;maxResults:10,&lt;BR /&gt; maxSuggestions:50,&lt;/P&gt;&lt;P&gt;enableSuggestions: true&lt;BR /&gt; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jul 2019 17:19:01 GMT</pubDate>
    <dc:creator>anjelinaponkerat</dc:creator>
    <dc:date>2019-07-29T17:19:01Z</dc:date>
    <item>
      <title>Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580665#M54176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I migarate from 4.11 to 4.12, after migration my search widget can not auto navigate to results!! why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jul 2019 17:56:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580665#M54176</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2019-07-26T17:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580666#M54177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By default autoSelect is enabled and the search will select and zoom to the first geocoded result. It works in the sample:&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=widgets-search-3d"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=widgets-search-3d&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have a reproducible bit of code that shows what you are seeing?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 16:19:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580666#M54177</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-07-29T16:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580667#M54178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt; var searchWidget = new Search({&lt;/P&gt;&lt;P&gt;view: view,&lt;/P&gt;&lt;P&gt;allPlaceholder: "search...",&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; sources: [{&lt;BR /&gt; layer: new FeatureLayer({&lt;BR /&gt; url: "localhost:6080/arcgis/rest/services/city/FeatureServer/0",&lt;BR /&gt; outFields: ["*"],&lt;BR /&gt; &lt;BR /&gt; }),&lt;BR /&gt; searchFields: ["city"],&lt;BR /&gt; displayField: "city",&lt;BR /&gt; exactMatch: false,&lt;BR /&gt; outFields: ["city", "local"],&lt;BR /&gt; name: "city1",&lt;BR /&gt; placeholder: "search city...",&lt;/P&gt;&lt;P&gt;autoNavigate: true,&lt;/P&gt;&lt;P&gt;maxResults:10,&lt;BR /&gt; maxSuggestions:50,&lt;/P&gt;&lt;P&gt;enableSuggestions: true&lt;BR /&gt; },&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 17:19:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580667#M54178</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2019-07-29T17:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580668#M54179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;autoNavigate is&amp;nbsp;true by default so you shouldn't have to set it if you want true.&amp;nbsp;&amp;nbsp;I tested both true and false using this sample and got the expected behavior in both 4.11 and 4.12.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=widgets-search-multiplesource"&gt;https://developers.arcgis.com/javascript/latest/sample-code/sandbox/index.html?sample=widgets-search-multiplesource&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jul 2019 21:49:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580668#M54179</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-07-29T21:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580669#M54180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I,m working on 3d view, but your sample is on 2d. I tested your code with my sample and can not zoom on results! why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 10:14:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580669#M54180</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2019-07-30T10:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580670#M54181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think arcgis java script 4.12 has too many bugs!! There is not any solution??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 07:51:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580670#M54181</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2019-08-02T07:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580671#M54182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When I use search widget it return this error in browser console:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;[esri.views.3d.state.ViewStateManager] #goTo() Failed to create camera from target, no layerview has been found for the layer&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 14:08:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580671#M54182</guid>
      <dc:creator>anjelinaponkerat</dc:creator>
      <dc:date>2019-08-02T14:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580672#M54183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I submitted a bug for this issue to the dev team. At this point I'm not aware of a workaround but if I discover one I'll reply back here and let you know.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Aug 2019 16:55:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580672#M54183</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-08-02T16:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580673#M54184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like goTo fails when it is trying to navigate to a graphic that is not in the map. So one potential workaround = if it works for your use case - would be to add the search layers to the map.&amp;nbsp; Here's an updated example:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/kellyhutchins/pen/KOmKdb?editors=1001"&gt;https://codepen.io/kellyhutchins/pen/KOmKdb?editors=1001&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Aug 2019 17:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580673#M54184</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2019-08-05T17:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Search widget+auto Navigate</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580674#M54185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like Kelly said, this is a bug on our side and&amp;nbsp;we'll work on a fix for&amp;nbsp;4.13. In the meantime a possible workaround is to add the layer to the map like Kelly suggested.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 13:59:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-widget-auto-navigate/m-p/580674#M54185</guid>
      <dc:creator>RalucaNicola1</dc:creator>
      <dc:date>2019-08-08T13:59:58Z</dc:date>
    </item>
  </channel>
</rss>

