I am creating a rather extravagant widget where a user can input a lat long and based on feature class can determine closest feature, then extrapolate the route to take. I have everything but the measurement feature. I figured based on everything ESRI has created ... I tried using the Measurement widget but it seems everything is all tied up were you cannot modify anything - like change mouse input for start and stop to typed input (I cannot see how to modify) and the measurement info is tied into the data-dojo-attach-point (widget.html) which you cannot modify. The Distance widget is no better.
Anyone have any idea of another widget or how to modify the measurement widget accordingly?
Can you use the network analysis tool and use the flags and barriers functionality?