Allow users to calculate driving directions between two or more locations to your app with only a couple of lines of code. The widget defaults to the ArcGIS Online Route Service but can be customized to use any ArcGIS Server Network Analyst routing service. The widget not only takes care of talking to a routing service, but also builds a default user interface:
Map navigation methods return deferreds
Map navigation methods, such as setExtent and centerAt, return Deferreds. In previous releases map navigation methods did not return a value. Using deferreds makes it easier (requires less code) to be sure that a map navigation method has finished before executing additonal code.
Asynchronous Module Definition(AMD)
All modules in the API are AMD compliant at 3.4. All modules are still compatible with dojo.require and no code changes are required when upgrading to 3.4. Additional documentation will be published outlining how to use the API’s modules in an AMD style.
For our users attending the Developer Summit this week, we have several great sessions and demo theaters you should attend:
Also be sure to stop by the Web Island in the showcase to chat with members of the JS API team.