Is there anyway to push 2 locations to a Directions widget without using it's interface? I've looked in Directions.viewModel but haven't had any success.
Shakil,
See this thread.
https://community.esri.com/thread/219736-add-stops-programmatically-directions-widget-48
Thanks for the reply Robert. Tried that, but as mentioned in the forum you linked, it semi breaks the widget. I'll build my own widget then.