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:
Check out samples that use the directions widget.
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.
Use esri.addProxyRule to specify a proxy to use on a per-service or per-resource basis.
The popup widget is now the default info window for the map. Most ArcGIS API for JavaScript users prefer the popup's look and feel and, after some refactoring some internal dependencies, using the popup as the default makes sense. Additional changes to the popup include: easier to place the popup in a container outside the map, better support for right-to-left content and several new config options to control paging controls and how features are highlighted.
Several new features for various symbol types:
Support for the latest ArcGIS Online webmap features and enhancements to the Portal API classes:
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.
<meta http-equiv="X-UA-Compatible" content="IE=7, IE=9, IE=10">
or <meta http-equiv="X-UA-Compatible" content="IE=edge">
.
{...}
or ${...}
Version 3.4 of the ArcGIS API for JavaScript uses Dojo 1.8.3. Version 0.3.4 of dgrid is also bundled with version 3.4 of the ArcGIS API for JavaScript as well as version 0.3.1 of put-selector and 0.0.5 of xstyle.