I have been following example on this link: http://developers.arcgis.com/javascript/samples/widget_directions_basic/ for my own network analyst service.
Though I have been getting correct routes between points. But many of the features in direction widget are not working at all. For example, the option to 'click on the map to select the point', 'Reverse Direction', 'zoom to full route', 'print route' are not responding at all when clicked. Delete destination is also not working in case of multiple destinations. Dragging points on the map to change location after the direction has been shown is also not working.
I have been getting this error on console: "SyntaxError: Unexpected token , at Object.b.fromJson (http://js.arcgis.com/3.13/init.js:230:426)". But I don't know what's causing this error. Any help would be really appreciated.
أكثر...
Though I have been getting correct routes between points. But many of the features in direction widget are not working at all. For example, the option to 'click on the map to select the point', 'Reverse Direction', 'zoom to full route', 'print route' are not responding at all when clicked. Delete destination is also not working in case of multiple destinations. Dragging points on the map to change location after the direction has been shown is also not working.
I have been getting this error on console: "SyntaxError: Unexpected token , at Object.b.fromJson (http://js.arcgis.com/3.13/init.js:230:426)". But I don't know what's causing this error. Any help would be really appreciated.
أكثر...