<?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 and route solving fuctions in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285581#M26322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the select - results event in order to identify the selected item from the list&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/search-amd.html#event-select-result" title="https://developers.arcgis.com/javascript/3/jsapi/search-amd.html#event-select-result"&gt;Search | API Reference | ArcGIS API for JavaScript 3.17&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the result take the item geometry and push it on location parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Jul 2016 08:40:58 GMT</pubDate>
    <dc:creator>PanagiotisPapadopoulos</dc:creator>
    <dc:date>2016-07-07T08:40:58Z</dc:date>
    <item>
      <title>search and route solving fuctions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285578#M26319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i'm using the search and the route solving functions. The thing is, sometimes i can find a point on the map with the search function, but the same text can't be reused to mark the start/end point for the route solving function. Is there a solution for this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 13:36:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285578#M26319</guid>
      <dc:creator>MuhamedRedzic</dc:creator>
      <dc:date>2016-07-05T13:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: search and route solving fuctions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285579#M26320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try to take the location from search tool and pass this as direction stop on direction widget&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;location&lt;/STRONG&gt; is the geometry from search result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;location&lt;/STRONG&gt; = webMercatorUtils.webMercatorToGeographic(location);&lt;/P&gt;&lt;P&gt; var CoordsforStop = "" + location.x + "," + location.y +"";&lt;/P&gt;&lt;P&gt; directions.updateStop(CoordsforStop,1);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jul 2016 13:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285579#M26320</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2016-07-05T13:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: search and route solving fuctions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285580#M26321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answer, but i don't really understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can i get the location out of this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;var &lt;/SPAN&gt;&lt;SPAN style="color: #458383;"&gt;searchFrom &lt;/SPAN&gt;= &lt;SPAN style="color: #000080; font-weight: bold;"&gt;new &lt;/SPAN&gt;Search({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;map&lt;/SPAN&gt;: &lt;SPAN style="color: #660e7a; font-weight: bold; font-style: italic;"&gt;map&lt;BR /&gt;&lt;/SPAN&gt;}, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"fromTxf"&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 07:42:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285580#M26321</guid>
      <dc:creator>MuhamedRedzic</dc:creator>
      <dc:date>2016-07-07T07:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: search and route solving fuctions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285581#M26322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the select - results event in order to identify the selected item from the list&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jsapi/search-amd.html#event-select-result" title="https://developers.arcgis.com/javascript/3/jsapi/search-amd.html#event-select-result"&gt;Search | API Reference | ArcGIS API for JavaScript 3.17&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from the result take the item geometry and push it on location parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 08:40:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285581#M26322</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2016-07-07T08:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: search and route solving fuctions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285582#M26323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;require&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;([&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;...&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;],&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;...&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; on&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;s&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="str" style="color: #dd1144;"&gt;'select-result'&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="kwd" style="color: #333333; font-weight: bold;"&gt;function&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;e&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;)&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;{&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var location = e.geometry;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: bold; font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location&lt;/SPAN&gt; = webMercatorUtils.webMercatorToGeographic(location);&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var CoordsforStop = "" + location.x + "," + location.y +"";&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; directions.updateStop(CoordsforStop,1);&lt;/P&gt;&lt;P&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;});&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;...&lt;/SPAN&gt;&lt;SPAN class="pln" style="color: #595959;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="pun" style="color: #666600;"&gt;});&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 08:44:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285582#M26323</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2016-07-07T08:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: search and route solving fuctions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285583#M26324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help it worked in the end !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 09:34:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285583#M26324</guid>
      <dc:creator>MuhamedRedzic</dc:creator>
      <dc:date>2016-07-07T09:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: search and route solving fuctions</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285584#M26325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;glad to help you. if you want mark the question as correct answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jul 2016 09:56:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/search-and-route-solving-fuctions/m-p/285584#M26325</guid>
      <dc:creator>PanagiotisPapadopoulos</dc:creator>
      <dc:date>2016-07-07T09:56:58Z</dc:date>
    </item>
  </channel>
</rss>

