How can I change the Directions GeoCoder Service to let him point on my own Geocoder service
I have declared My directions as below, with the routeTaskURL
var directionsW = new Directions({
map: map,
routeTaskUrl:
"https://xyz/arcgis/rest/services/CALCUL_ITINERAIRE/NAServer/Route"
}, "dir");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.