The Esri DirectionsViewModel shape used by webpack 4.x apps: a view, a stop
collection, load, getDirections, and reset. With no custom route
provider, load reads travel modes and getDirections solves
routeServiceUrl (the Esri world route service by default).
The Esri
DirectionsViewModelshape used by webpack 4.x apps: a view, a stop collection,load,getDirections, andreset. With no custom route provider,loadreads travel modes andgetDirectionssolvesrouteServiceUrl(the Esri world route service by default).