Hi
I am using WAB 2.10 and i have a road network and my custom requirement is
When i try to use out of the box directions widgets it gave me errors on time units and it seems that you have to use travel mode with a specific name and even when i created a travel mode this widget was not picking it until unless i give that specific name. I am sending requests to Rest page and it is working fine. When i dig into code i came to knew that this widget is actually creating a JS API directions dijit which limits me in updating code.
Is there any simpler but configurable widget for this ?
Solved! Go to Solution.
There is not one that I am aware of. Your best bet would be to create your own custom widget using the directions dijit and turn off all the things you do not want to see.
showTravelModesOption false
mapClickActive false
showActivateButton false
There is not one that I am aware of. Your best bet would be to create your own custom widget using the directions dijit and turn off all the things you do not want to see.
showTravelModesOption false
mapClickActive false
showActivateButton false