<?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 Change the Routing GeoCoder service of Directions widget in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-the-routing-geocoder-service-of-directions/m-p/1111572#M75084</link>
    <description>&lt;P&gt;How can I change the Directions GeoCoder Service to let him point on my own Geocoder service&lt;/P&gt;&lt;P&gt;I have declared My directions as below, with the routeTaskURL&lt;/P&gt;&lt;PRE&gt;   &lt;SPAN class=""&gt;var&lt;/SPAN&gt; directionsW = &lt;SPAN class=""&gt;new&lt;/SPAN&gt; &lt;SPAN class=""&gt;Directions&lt;/SPAN&gt;({
            &lt;SPAN class=""&gt;map&lt;/SPAN&gt;: map,
            &lt;SPAN class=""&gt;routeTaskUrl&lt;/SPAN&gt;: 
             &lt;SPAN class=""&gt;"https://xxxxxxxxx/arcgis/rest/services/CALCUL_ITINERAIRE/NAServer/Route"&lt;/SPAN&gt;
           
        }, &lt;SPAN class=""&gt;"dir"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;and now I want to point on my own GeoCoder Service ? I know that I can do it with searchOptions's Parameter, but could you please let me know with a sample of code that would be very helpful.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Oct 2021 11:28:06 GMT</pubDate>
    <dc:creator>benchikh</dc:creator>
    <dc:date>2021-10-27T11:28:06Z</dc:date>
    <item>
      <title>Change the Routing GeoCoder service of Directions widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-the-routing-geocoder-service-of-directions/m-p/1111572#M75084</link>
      <description>&lt;P&gt;How can I change the Directions GeoCoder Service to let him point on my own Geocoder service&lt;/P&gt;&lt;P&gt;I have declared My directions as below, with the routeTaskURL&lt;/P&gt;&lt;PRE&gt;   &lt;SPAN class=""&gt;var&lt;/SPAN&gt; directionsW = &lt;SPAN class=""&gt;new&lt;/SPAN&gt; &lt;SPAN class=""&gt;Directions&lt;/SPAN&gt;({
            &lt;SPAN class=""&gt;map&lt;/SPAN&gt;: map,
            &lt;SPAN class=""&gt;routeTaskUrl&lt;/SPAN&gt;: 
             &lt;SPAN class=""&gt;"https://xxxxxxxxx/arcgis/rest/services/CALCUL_ITINERAIRE/NAServer/Route"&lt;/SPAN&gt;
           
        }, &lt;SPAN class=""&gt;"dir"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;and now I want to point on my own GeoCoder Service ? I know that I can do it with searchOptions's Parameter, but could you please let me know with a sample of code that would be very helpful.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 11:28:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-the-routing-geocoder-service-of-directions/m-p/1111572#M75084</guid>
      <dc:creator>benchikh</dc:creator>
      <dc:date>2021-10-27T11:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Routing GeoCoder service of Directions widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-the-routing-geocoder-service-of-directions/m-p/1111614#M75089</link>
      <description>&lt;P&gt;You can update the searchProperties of the Directions widget.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#searchProperties" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#searchProperties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Like the Search widget, you can turn off the default Search source and add your own.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#SearchProperties" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Directions.html#SearchProperties&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can look at the search sample for more details on adding a new source.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/sample-code/widgets-search-multiplesource/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 13:45:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-the-routing-geocoder-service-of-directions/m-p/1111614#M75089</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2021-10-27T13:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change the Routing GeoCoder service of Directions widget</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-the-routing-geocoder-service-of-directions/m-p/1112274#M75117</link>
      <description>&lt;P&gt;I have already checked the links but better is there is a sample that would be mucg appreciated&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 22:17:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/change-the-routing-geocoder-service-of-directions/m-p/1112274#M75117</guid>
      <dc:creator>benchikh</dc:creator>
      <dc:date>2021-10-28T22:17:37Z</dc:date>
    </item>
  </channel>
</rss>

