Select to view content in your preferred language

adding direction widget to map

1647
1
09-10-2013 03:45 PM
AlanaD_Andrea
Emerging Contributor
I am trying to add a direction widget into my current asp.net mvc 4 application. I have a map already created in this application I just need to figure out how to put a direction map tool into it. I am really new to all of this coding and would really appreciate any advice or support. I have been working with this documentation but cant seem to figure out what I am missing. Everytime i add in the code my original map disapears from the site but I get no errors when building the solution. Can someone please help, it would be greatly appreciated.
thank you in advance. here are the links to what i was looking at.
https://developers.arcgis.com/en/javascript/jssamples/widget_directions_basic.html
http://forums.arcgis.com/threads/30629-get-driving-directions-sample-customization
Tags (2)
0 Kudos
1 Reply
AlanaD_Andrea
Emerging Contributor
I just ran the application again and got these errors in the console:

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


i dont understand how to define my map and get it to display in my application with these direction map tools. Any advice or help would be great...thank u
0 Kudos