Greetings,
I am trying to use the directions widget in JSAPI 4.7 with our own route service, but when doing this the widget won't load. I realize that this widget is still in beta, but I am wondering if I am missing something in the configuration setup or maybe my ArcGIS Server, needs to be a certain version for this to work. Here is the simple code I am using:
var dirWidget = new Directions({
view: view,
routeServiceUrl: "https://<<link to working route service>>",
container: "directionsDiv"
});
The result is:
Thanks very much for any feedback!
Regard,
Tom