Hi - I'm trying to use the world geocoder as my locator source in the Directions widget, along with a feature layer as a second source (3.16). I've set up the sources array as such:
locator: new Locator("https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"),
name: "Search by Address",
placeholder: "Search by Address",
name: "Search by Facility",
placeholder: "Search for Facilities",
but when entering an address (regardless whether the 'All' or 'Search by Address' search option is selected), the widget will place the stop A icon on map and then clear the address from the search input. When entering a second address, the stop B icon is placed on the map, but again the input search box is cleared instantly.
As such, the icons remain on the map at their correct locations, but no route can be solved.
When using the world geocode service as the only source (i.e not in a sources array) I have no issues-
Solved! Go to Solution.