I am trying to add a direction map tool widget to my asp.net mvc 4 application but each time i try to implement this code my map disapears and i get a few error messages in the console. can someone please help me figure out what i am missing and what code is really required to make this work with my already existing map. thank you in advance. here is my code and the errors i am getting:
Uncaught SyntaxError: Unexpected token < map.js:127 Uncaught ReferenceError: changeBasemap is not defined localhost:15885/Sentry/:186 Uncaught ReferenceError: map is not defined localhost:15885/Sentry/:111 Uncaught ReferenceError: addTypeSymbols is not defined utils.js:560 Uncaught ReferenceError: addTypeSymbols is not defined