AnsweredAssumed Answered

Directions Widget with routeServiceUrl - JSAPI 4.7

Question asked by tsellste Champion on Apr 19, 2018
Latest reply on Jun 6, 2018 by tsellste



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!